diff --git a/common/BaseComicEntity.py b/common/BaseComicEntity.py index 9f87c6a..1ab5a86 100644 --- a/common/BaseComicEntity.py +++ b/common/BaseComicEntity.py @@ -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)