Commits

Peter Sanchez committed bc1d46c

Added file seek reset

  • Participants
  • Parent commits 8a10db9
  • Branches trunk

Comments (0)

Files changed (1)

webutils/djtools/templatetags/djtools_image_tags.py

         image.save(stream, image.format, quality=90)
         storage.save(miniature_filename, ContentFile(stream.getvalue()))
 
+    file.seek(0)  # reset
     return miniature_url