diff --git a/common/BaseComicEntity.py b/common/BaseComicEntity.py index 72504a9..8d71412 100644 --- a/common/BaseComicEntity.py +++ b/common/BaseComicEntity.py @@ -139,9 +139,11 @@ class baseComic: #不存在ComicInfo.xml则生成 ci.writeComicInfoXML() #图标 - if not is_next: - downloadUtils.downQueueClear() + if is_next: + downloadUtils.downQueueClear() + 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) return is_next \ No newline at end of file