This commit is contained in:
cwx 2022-12-07 11:03:12 +08:00
parent 711d35f954
commit d57d7596fa

View File

@ -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):