Commits

George Notaras  committed 4a3a01f

Fixed bad import

  • Participants
  • Parent commits 16408eb

Comments (0)

Files changed (2)

File src/thumbnail_works/fields.py

         return True
 
 
-        
+
 class EnhancedImageFieldFile(ImageFieldFile):
     """Enhanced version of the default ImageFieldFile.
     

File src/thumbnail_works/utils.py

     
     # Save image data
     format = options['format']
-    buffer = StringIO.StringIO()
+    buffer = StringIO()
 
     if format == 'JPEG':
         im.save(buffer, format, quality=settings.THUMBNAILS_QUALITY)