This commit is contained in:
cwx
2022-12-17 20:50:34 +08:00
parent 9ad8a5f9cd
commit 815ad1f108
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -23,6 +23,7 @@ class comicInfo():
str_chapter = None
str_icon = None
str_homePage = None
str_listChapter = None
chapter_node = None
comicName_node = None
@@ -52,6 +53,15 @@ class comicInfo():
cls.str_chapter = cls.fixFileName(value)
cls.chapter_node = cls.setNodeAndValue(cls.chapter,value)
@classmethod
def setListChapter(cls, value):
cls.str_listChapter = value
@classmethod
def getLenChapters(cls):
return len(cls.str_listChapter)
@classmethod
def setComicName(cls,value):
cls.str_comicName = cls.fixFileName(value)