diff --git a/utils/comic/ComicInfo.py b/utils/comic/ComicInfo.py index 740282c..4defdc5 100644 --- a/utils/comic/ComicInfo.py +++ b/utils/comic/ComicInfo.py @@ -182,12 +182,7 @@ class comicInfo(): @classmethod def writeComicInfoXML(cls,chapter): if cls.chapter == cls.fixFileName(chapter): - wait = input(f"cls.chapter {cls.chapter} 与 chapter {chapter} 不相等,是否继续y/n ") - if wait == "y": - print("继续中...") - else: - print("用户操作取消...") - exit() + print(f"cls.chapter {cls.chapter} 与 chapter {chapter} 不相等,已自动跳过") root = cls.Root() newDocument = Document() @@ -250,15 +245,9 @@ class comicInfo(): @classmethod def nextSaveInfoChapter(cls,chapter,data): - if cls.str_chapter == chapter: - cls.nextSavePath("info_",data) - else: - wait = input(f"chapter {cls.str_chapter} 与 {chapter} 不一致,是否继续 y/n") - if wait == "y": - cls.nextSavePath("info_",data) - print("继续中") - else: - exit() + if not cls.str_chapter == chapter: + print(f"chapter {cls.str_chapter} 与 {chapter} 不一致,已自动跳过") + cls.nextSavePath("info_",data) @classmethod def nextInfoToImgChapter(cls):