fix
This commit is contained in:
parent
0e7f1f2945
commit
b70fe6c79d
@ -63,11 +63,10 @@ class CBZUtils:
|
||||
else:
|
||||
print("文件已存在:", target_file)
|
||||
len_chapter_imgs = len(comicInfo.getChapterImgs())
|
||||
if len_chapter_imgs != 0 and len_chapter_imgs != cls.zip_info(target_file):
|
||||
if len_chapter_imgs != 0 and len_chapter_imgs != len(cls.zip_info(target_file)):
|
||||
try:
|
||||
os.remove(target_file)
|
||||
comicInfo.setProgress(comicInfo.PROGRESS_NONE)
|
||||
print("文件已删除:", target_file)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
if remove:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user