Commit c13a85bd by willmcgugan

Fixed stupid error

parent 6641f314
...@@ -104,7 +104,7 @@ class ZipFS(FS): ...@@ -104,7 +104,7 @@ class ZipFS(FS):
except IOError, ioe: except IOError, ioe:
if str(ioe).startswith('[Errno 22] Invalid argument'): if str(ioe).startswith('[Errno 22] Invalid argument'):
raise ZipOpenError("Not a zip file or corrupt (%s)" % str(zip_file), raise ZipOpenError("Not a zip file or corrupt (%s)" % str(zip_file),
details=bzf) details=ioe)
raise ZipNotFoundError("Zip file not found (%s)" % str(zip_file), raise ZipNotFoundError("Zip file not found (%s)" % str(zip_file),
details=ioe) details=ioe)
......
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