From a6d0fcf034fb743ca2556b1918d6c37d8d729447 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 18 Jan 2023 23:19:51 +0800 Subject: [PATCH] fix --- utils/entity/BaseComicEntity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/entity/BaseComicEntity.py b/utils/entity/BaseComicEntity.py index 456b907..46bb055 100644 --- a/utils/entity/BaseComicEntity.py +++ b/utils/entity/BaseComicEntity.py @@ -198,7 +198,7 @@ class baseComic: ntfy.sendMsg(f"{book_name} {chapter_name} 下载中") is_next = verUtils.verNextCBZ(list_img) repeat = 0 - while not is_next or repeat <= 3: + while not is_next and repeat <= 3: download_images(list_img,comicInfo.getDirComicChapter(), filesName=files_name,timeout=180) file_imgs = os.listdir(comicInfo.getDirComicChapter()) count_jpg = ",".join(file_imgs).split(".jpg")