diff --git a/utils/NetUtils.py b/utils/NetUtils.py index 820c3bc..193288d 100644 --- a/utils/NetUtils.py +++ b/utils/NetUtils.py @@ -253,7 +253,7 @@ class downloadUtils: #判断漫画名路径是否已存在comicname/cover.jpg, 存在跳过 path_comic_icon = ComicPath.getPathConfComicIcon() if not ciUtils.equIcon() and fu.exists(path_comic_icon): os.remove(path_comic_icon) - if fu.notExists(path_comic_icon): + while fu.notExists(path_comic_icon): cls.download_images([icon_url],ComicPath.getDirConfComic(),files_name=[ComicPath.COMIC_ICON_NAME+"."+icon_suffix]) save_path = ComicPath.getPathCBZComicChapterIcon(icon_suffix) if is_new: