fix
This commit is contained in:
parent
26e3a8f19a
commit
edc16f683c
@ -122,8 +122,9 @@ class comicEntity:
|
|||||||
is_next = CBZUtils.packAutoComicChapterCBZ()
|
is_next = CBZUtils.packAutoComicChapterCBZ()
|
||||||
#完成删除原文件
|
#完成删除原文件
|
||||||
remove_path = comicInfo.getDirComicChapter()
|
remove_path = comicInfo.getDirComicChapter()
|
||||||
shutil.rmtree(remove_path)
|
if os.path.exists(remove_path):
|
||||||
print(f"文件已删除: {remove_path}")
|
shutil.rmtree(remove_path)
|
||||||
|
print(f"文件已删除: {remove_path}")
|
||||||
#except Exception as e:
|
#except Exception as e:
|
||||||
# print(e)
|
# print(e)
|
||||||
# ntfy.sendMsg(f"{comicInfo.getComicName()} 下载出错了")
|
# ntfy.sendMsg(f"{comicInfo.getComicName()} 下载出错了")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user