修复删除报错
This commit is contained in:
parent
e0ad6a64d5
commit
82bbef1f9b
@ -52,6 +52,9 @@ class CBZUtils:
|
||||
dirs = os.listdir(chapter_path)
|
||||
for file in dirs:
|
||||
if file.startswith("scramble="):
|
||||
os.remove(file)
|
||||
try:
|
||||
os.remove(file)
|
||||
except:
|
||||
print(f"删除 {file} 发生错误,已跳过")
|
||||
cls.zip_compression(chapter_path,packCBZ_path+".CBZ")
|
||||
comicInfo.nextCBZToDoneChapter()
|
||||
Loading…
Reference in New Issue
Block a user