This commit is contained in:
caiwx86 2023-04-06 16:36:33 +08:00
parent 0ca5969349
commit 0320cf02fa

View File

@ -146,9 +146,8 @@ class CBZUtils:
return True
else:
try:
if len(cls.zip_info(path)) < len(list_img) or os.path.getsize(path) < min_size:
fu.remove(path)
ciUtils.setProgressFail()
fu.remove(path)
ciUtils.setProgressFail()
except Exception as e:
print(e)
return False