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")