fix
This commit is contained in:
parent
9b08c11607
commit
952f4d44fb
@ -136,13 +136,14 @@ class baseComic:
|
||||
ci.writeJson()
|
||||
#验证数据是已存在且是否完整
|
||||
is_next = CBZUtils.isVerCBZComic()
|
||||
is_update_old = CBZUtils.isUpdateOldCBZ()
|
||||
#不存在ComicInfo.xml则生成
|
||||
ci.writeComicInfoXML()
|
||||
#图标
|
||||
if is_next:
|
||||
if is_next and not is_update_old:
|
||||
downloadUtils.downQueueClear()
|
||||
ComicPath.TIME_SLEEP = 0.5
|
||||
else:
|
||||
CBZUtils.isUpdateOldCBZ()
|
||||
ComicPath.TIME_SLEEP = random.randint(5,15)
|
||||
downloadUtils.putDownImageUrlDirFile(Comic.getIcon(),ComicPath.getDirConfComic(),ComicPath.COMIC_ICON_FILE_NAME)
|
||||
downloadUtils.start_downloads(timeout=8)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user