# HG changeset patch # User Brian Neal # Date 1386990024 21600 # Node ID df2799f725d8ffee1b5f07e2f64d4b823e9280e6 # Parent 775e7f74096a29ec2425181405bc02f550f1f7dc For #60, fix last commit (775e7f7) which produced UnicodeDecodeErrors. diff -r 775e7f74096a -r df2799f725d8 core/image_uploader.py --- 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