This commit is contained in:
caiwx86 2024-11-15 02:47:31 +08:00
parent f268cc7a31
commit be20d51d76

View File

@ -547,10 +547,7 @@ class CBZUtils:
time.sleep(0.1)
if remove: shutil.rmtree(src_dir)
# validation
try:
return cls.comic_cbz_validate(dts_path)
except Exception as e:
os.remove(dts_path)
return cls.comic_cbz_validate(dts_path)
@classmethod
def replaceZip(cls, filepath, unpack_dir=None):