From e5a4e0028c0dd18fd1cd82d4fe6f7aba1c765f80 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 5 Apr 2023 21:00:45 +0800 Subject: [PATCH] fix --- common/BaseComicEntity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/BaseComicEntity.py b/common/BaseComicEntity.py index 536faba..d83d91f 100644 --- a/common/BaseComicEntity.py +++ b/common/BaseComicEntity.py @@ -63,6 +63,8 @@ class baseComic: for href in chapter_href: Comic.setChapterName(chapters[cls.count_chapter]) Comic.setNumber(cls.count_chapter+1) + if fu.exists(ComicPath.getNewCBZComicChapter("file")): + return None #存在完成配置文件 但文件不存在 将清空完成配置文件 if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressFail()