fix
This commit is contained in:
parent
124cfece55
commit
8c9613dced
@ -70,9 +70,13 @@ class baseComic:
|
|||||||
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
||||||
# ciUtils.setProgressFail()
|
# ciUtils.setProgressFail()
|
||||||
cbz_path = ComicPath.getPathCBZComicChapter()
|
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}")
|
print(f"CBZ不存在, {cbz_path}")
|
||||||
ciUtils.setProgressFail()
|
|
||||||
#不存在完成配置文件 则允许下载
|
#不存在完成配置文件 则允许下载
|
||||||
if not ciUtils.isProgressDone():
|
if not ciUtils.isProgressDone():
|
||||||
#if fu.exists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressDone()
|
#if fu.exists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressDone()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user