This commit is contained in:
caiwx86 2023-01-18 23:31:33 +08:00
parent a6d0fcf034
commit de8a2817f7

View File

@ -199,7 +199,7 @@ class baseComic:
is_next = verUtils.verNextCBZ(list_img) is_next = verUtils.verNextCBZ(list_img)
repeat = 0 repeat = 0
while not is_next and 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=20)
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")
is_next = len(count_jpg)-1 == len(list_img) is_next = len(count_jpg)-1 == len(list_img)