From 4d44b5e001f5841b4331b57dcf5e059081860e56 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 5 Apr 2023 14:32:14 +0800 Subject: [PATCH] fix --- common/BaseComicEntity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/BaseComicEntity.py b/common/BaseComicEntity.py index 291ea40..00a8cbb 100644 --- a/common/BaseComicEntity.py +++ b/common/BaseComicEntity.py @@ -64,6 +64,8 @@ class baseComic: Comic.setChapterName(chapters[cls.count_chapter]) Comic.setNumber(cls.count_chapter+1) #存在完成配置文件 但文件不存在 将清空完成配置文件 + if fu.exists(ComicPath.getNewCBZComicChapter("file")): + ciUtils.setProgressDone() if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressFail() #不存在完成配置文件 则允许下载