This commit is contained in:
cwx committed 2022-12-07 11:03:12 +08:00
1 parent 711d35f954
commit d57d7596fa
1 file changed
+4 -15
+4 -15
View File
@@ -182,12 +182,7 @@ class comicInfo():
@classmethod @classmethod
def writeComicInfoXML(cls,chapter): def writeComicInfoXML(cls,chapter):
if cls.chapter == cls.fixFileName(chapter): if cls.chapter == cls.fixFileName(chapter):
wait = input(f"cls.chapter {cls.chapter} 与 chapter {chapter} 不相等,是否继续y/n ") print(f"cls.chapter {cls.chapter} 与 chapter {chapter} 不相等,已自动跳过")
if wait == "y":
print("继续中...")
else:
print("用户操作取消...")
exit()
root = cls.Root() root = cls.Root()
newDocument = Document() newDocument = Document()
@@ -250,15 +245,9 @@ class comicInfo():
@classmethod @classmethod
def nextSaveInfoChapter(cls,chapter,data): def nextSaveInfoChapter(cls,chapter,data):
if cls.str_chapter == chapter: if not cls.str_chapter == chapter:
cls.nextSavePath("info_",data) print(f"chapter {cls.str_chapter} 与 {chapter} 不一致,已自动跳过")
else: cls.nextSavePath("info_",data)
wait = input(f"chapter {cls.str_chapter} 与 {chapter} 不一致,是否继续 y/n")
if wait == "y":
cls.nextSavePath("info_",data)
print("继续中")
else:
exit()
@classmethod @classmethod
def nextInfoToImgChapter(cls): def nextInfoToImgChapter(cls):