Commit 2710ade8 by willmcgugan

Fix for missing size field

parent 90f59973
......@@ -350,7 +350,7 @@ class OSFSOpener(Opener):
class ZipOpener(Opener):
names = ['zip', 'zip64']
desc = """Opens zip files. Use zip64 for > 2 megabyte zip files, if you have a 64 bit processor.
desc = """Opens zip files. Use zip64 for > 2 gigabyte zip files, if you have a 64 bit processor.
examples:
* zip://myzip.zip (open a local zip file)
......@@ -370,6 +370,9 @@ class ZipOpener(Opener):
open_mode = 'rb'
else:
open_mode = 'w+'
if zip_fs.hassyspath(zip_path):
zip_file = zip_fs.getsyspath(zip_path)
else:
zip_file = zip_fs.open(zip_path, mode=open_mode)
_username, _password, fs_path = _parse_credentials(fs_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