This commit is contained in:
caiwx86 2023-01-18 23:19:51 +08:00
parent 8d380df060
commit a6d0fcf034

View File

@ -198,7 +198,7 @@ class baseComic:
ntfy.sendMsg(f"{book_name} {chapter_name} 下载中") ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
is_next = verUtils.verNextCBZ(list_img) is_next = verUtils.verNextCBZ(list_img)
repeat = 0 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) download_images(list_img,comicInfo.getDirComicChapter(), filesName=files_name,timeout=180)
file_imgs = os.listdir(comicInfo.getDirComicChapter()) file_imgs = os.listdir(comicInfo.getDirComicChapter())
count_jpg = ",".join(file_imgs).split(".jpg") count_jpg = ",".join(file_imgs).split(".jpg")