Skip to content

Commit

Permalink
Merged in darkness51/django-storages (pull request #50)
Browse files Browse the repository at this point in the history
Fix but when IS_GZIPPED is True
  • Loading branch information
davidbgk committed Jan 21, 2013
2 parents cb8c523 + fa0c8a9 commit 2ccf462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storages/backends/s3boto.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ def _compress_content(self, content):
zfile.write(content.read())
finally:
zfile.close()
zbuf.seek(0)
content.file = zbuf
content.seek(0)
return content
Expand Down

0 comments on commit 2ccf462

Please sign in to comment.