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