add sleep
This commit is contained in:
1 parent
f632ba738f
commit
fd694cce81
1 file changed
+1
-1
@@ -187,7 +187,7 @@ class comicEntity:
|
|||||||
is_next = verUtils.verNextCBZ(list_img)
|
is_next = verUtils.verNextCBZ(list_img)
|
||||||
list_shunt = ["?shunt=2","?shunt=1","?shunt=3",""]
|
list_shunt = ["?shunt=2","?shunt=1","?shunt=3",""]
|
||||||
while not is_next:
|
while not is_next:
|
||||||
time.sleep(1)
|
time.sleep(10)
|
||||||
download_images(list_img,comicInfo.getDirComicChapter(), filesName=list_file_name,timeout=1500)
|
download_images(list_img,comicInfo.getDirComicChapter(), filesName=list_file_name,timeout=1500)
|
||||||
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")
|
||||||
|
|||||||
Reference in new issue
Block a user