This commit is contained in:
@@ -262,7 +262,7 @@ def updateFromZip(message=config.get_localized_string(80050)):
|
|||||||
hash = fixZipGetHash(localfilename)
|
hash = fixZipGetHash(localfilename)
|
||||||
logger.info(hash)
|
logger.info(hash)
|
||||||
|
|
||||||
with zipfile.ZipFile(filetools.file_open(localfilename, 'rb', vfs=True)) as zip:
|
with zipfile.ZipFile(filetools.file_open(localfilename, 'rb', vfs=False)) as zip:
|
||||||
size = sum([zinfo.file_size for zinfo in zip.filelist])
|
size = sum([zinfo.file_size for zinfo in zip.filelist])
|
||||||
cur_size = 0
|
cur_size = 0
|
||||||
for member in zip.infolist():
|
for member in zip.infolist():
|
||||||
|
|||||||
Reference in New Issue
Block a user