Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GzipCompressorFileStorage save() should return filename like other st…

…orage classes do

Fixes #320. Thanks, @dan-transparensee !
  • Loading branch information...
commit c46e52a20c83a1aa552490266c8b2fa942828211 1 parent 5b1d885
@diox diox authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  compressor/storage.py
View
1  compressor/storage.py
@@ -68,6 +68,7 @@ def save(self, filename, content):
out = gzip.open(u'%s.gz' % self.path(filename), 'wb')
out.writelines(open(self.path(filename), 'rb'))
out.close()
+ return filename
class DefaultStorage(LazyObject):
Please sign in to comment.
Something went wrong with that request. Please try again.