1. Anton Smirnov
  2. django-storages

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
  • Branches default

Comments (0)

Files changed (1)

File storages/backends/s3boto.py

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