changeset 738:df2799f725d8

For #60, fix last commit (775e7f7) which produced UnicodeDecodeErrors.
author Brian Neal <bgneal@gmail.com>
date Fri, 13 Dec 2013 21:00:24 -0600
parents 775e7f74096a
children fb2877dd6182
files core/image_uploader.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/image_uploader.py	Fri Dec 13 19:59:36 2013 -0600
+++ b/core/image_uploader.py	Fri Dec 13 21:00:24 2013 -0600
@@ -44,7 +44,7 @@
     a thumbnail was not requested.
     """
 
-    filename = fp.name.encode('utf-8')
+    filename = fp.name
     logger.info('Processing image file: %s', filename)
 
     # Trying to use PIL (or Pillow) on a Django UploadedFile is often