Commits

David Larlet committed a309672 Merge

Merged in darkness51/django-storages (pull request #50)

Fix but when IS_GZIPPED is True

  • Participants
  • Parent commits 878f305, 72dee58

Comments (0)

Files changed (1)

storages/backends/s3boto.py

             zfile.write(content.read())
         finally:
             zfile.close()
+        zbuf.seek(0)
         content.file = zbuf
         content.seek(0)
         return content