This commit is contained in:
caiwx86 2023-04-06 20:17:45 +08:00
parent 60598a1c82
commit 963acba7fa

View File

@ -137,13 +137,12 @@ class baseComic:
#验证数据是已存在且是否完整
is_next = CBZUtils.isVerCBZComic()
is_update_old = CBZUtils.isUpdateOldCBZ()
#不存在ComicInfo.xml则生成
ci.writeComicInfoXML()
#图标
if is_next or not is_update_old:
downloadUtils.downQueueClear()
ComicPath.TIME_SLEEP = 0.5
else:
ci.writeComicInfoXML()
ComicPath.TIME_SLEEP = random.randint(5,15)
downloadUtils.putDownImageUrlDirFile(Comic.getIcon(),ComicPath.getDirConfComic(),ComicPath.COMIC_ICON_FILE_NAME)
downloadUtils.start_downloads(timeout=8)