Commit c03911b4 by Timothée Peignier

Merge pull request #321 from newscred/fix-path-error

check if path is exists
parents 82b012ee 3577306a
...@@ -74,7 +74,7 @@ class GZIPMixin(object): ...@@ -74,7 +74,7 @@ class GZIPMixin(object):
return return
for path in paths: for path in paths:
if not matches_patterns(path, self.gzip_patterns): if path and not matches_patterns(path, self.gzip_patterns):
continue continue
original_file = self.open(path) original_file = self.open(path)
gzipped_path = "{0}.gz".format(path) gzipped_path = "{0}.gz".format(path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment