This commit is contained in:
caiwx86 2023-04-05 14:32:14 +08:00
parent 4f7f7e8e6f
commit 4d44b5e001

View File

@ -64,6 +64,8 @@ class baseComic:
Comic.setChapterName(chapters[cls.count_chapter]) Comic.setChapterName(chapters[cls.count_chapter])
Comic.setNumber(cls.count_chapter+1) Comic.setNumber(cls.count_chapter+1)
#存在完成配置文件 但文件不存在 将清空完成配置文件 #存在完成配置文件 但文件不存在 将清空完成配置文件
if fu.exists(ComicPath.getNewCBZComicChapter("file")):
ciUtils.setProgressDone()
if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")): if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
ciUtils.setProgressFail() ciUtils.setProgressFail()
#不存在完成配置文件 则允许下载 #不存在完成配置文件 则允许下载