diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 08e53ec..697f1a6 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -125,10 +125,7 @@ class comicEntity: shutil.rmtree(remove_path) print(f"文件已删除: {remove_path}") except: - dirComicChapter = str(comicInfo.getDirComicChapter()) - if dirComicChapter != None and os.path.exists(dirComicChapter): - shutil.rmtree(dirComicChapter) - cls.comicChapter(chapter_url,scramble,sleep) + ntfy.sendMsg(f"{comicInfo.getComicName} 下载出错了") ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(comicInfo.getLenChapters())) if sleep != None and is_next == True: ntfy.sendMsg(f"{sleep} 秒后开始下载下一个章节")