This commit is contained in:
caiwx86 2023-04-08 01:30:29 +08:00
parent 124cfece55
commit 8c9613dced

View File

@ -70,9 +70,13 @@ class baseComic:
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
# ciUtils.setProgressFail()
cbz_path = ComicPath.getPathCBZComicChapter()
if not os.path.exists(cbz_path):
if ciUtils.isProgressDone():
return True
if os.path.exists(cbz_path):
print(f"存在文件: {cbz_path}")
ciUtils.setProgressDone()
else:
print(f"CBZ不存在, {cbz_path}")
ciUtils.setProgressFail()
#不存在完成配置文件 则允许下载
if not ciUtils.isProgressDone():
#if fu.exists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressDone()