matthewwithanm / django-imagekit

Automated image processing for Django. Currently v4.0
http://django-imagekit.rtfd.org/
BSD 3-Clause "New" or "Revised" License
2.26k stars 276 forks source link

ValueError on content.seek(0) #490

Closed ephes closed 5 years ago

ephes commented 5 years ago

When storing media files in s3 content.seek(0) raises 'ValueError: I/O operation on closed file.' - ignoring it just works.

vstoykov commented 5 years ago

You are trying to fix #391, but I'm not sure that this is the right fix.

ephes commented 5 years ago

Oh wow, thanks for the reference. I used that line for 1.5 years now and it worked for me. But this fix worked too and it's much better because you don't have to patch imagekit anymore. Cool, solves my problem :). Have a nice Sunday!