add sleep

This commit is contained in:
caiwx86 2023-01-08 17:31:12 +08:00
parent f632ba738f
commit fd694cce81

View File

@ -187,7 +187,7 @@ class comicEntity:
is_next = verUtils.verNextCBZ(list_img)
list_shunt = ["?shunt=2","?shunt=1","?shunt=3",""]
while not is_next:
time.sleep(1)
time.sleep(10)
download_images(list_img,comicInfo.getDirComicChapter(), filesName=list_file_name,timeout=1500)
file_imgs = os.listdir(comicInfo.getDirComicChapter())
count_jpg = ",".join(file_imgs).split(".jpg")