Commit 3577306a by pranto157

check if path is exists

parent 82b012ee
...@@ -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