fix
This commit is contained in:
parent
a25c1fa47b
commit
b693943843
@ -63,14 +63,12 @@ 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 fu.exists(ComicPath.getNewCBZComicChapter("file")): ciUtils.setProgressDone()
|
||||
#存在完成配置文件 但文件不存在 将清空完成配置文件
|
||||
if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
||||
ciUtils.setProgressFail()
|
||||
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
||||
# ciUtils.setProgressFail()
|
||||
#不存在完成配置文件 则允许下载
|
||||
if not ciUtils.isProgressDone():
|
||||
ComicPath.TIME_SLEEP = random.randint(8,20)
|
||||
cls.comicChapters(href,scramble=True)
|
||||
cls.count_chapter += 1
|
||||
#一本漫画下载后等待
|
||||
|
||||
Loading…
Reference in New Issue
Block a user