Permalink
Browse files

GzipCompressorFileStorage save() should return filename like other st…

…orage classes do


Fixes #320. Thanks, @dan-transparensee !
  • Loading branch information...
1 parent 5b1d885 commit c46e52a20c83a1aa552490266c8b2fa942828211 @diox diox committed Oct 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 compressor/storage.py
View
@@ -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):

0 comments on commit c46e52a

Please sign in to comment.