This commit is contained in:
cwx committed 2023-01-09 22:06:38 +08:00
1 parent 26e3a8f19a
commit edc16f683c
1 file changed
+1
+1
View File
@@ -122,6 +122,7 @@ class comicEntity:
is_next = CBZUtils.packAutoComicChapterCBZ() is_next = CBZUtils.packAutoComicChapterCBZ()
#完成删除原文件 #完成删除原文件
remove_path = comicInfo.getDirComicChapter() remove_path = comicInfo.getDirComicChapter()
if os.path.exists(remove_path):
shutil.rmtree(remove_path) shutil.rmtree(remove_path)
print(f"文件已删除: {remove_path}") print(f"文件已删除: {remove_path}")
#except Exception as e: #except Exception as e: