fix
This commit is contained in:
@@ -277,4 +277,19 @@ class comicInfo():
|
||||
def nextExistsGetPath(cls,msg):
|
||||
path = cls.nextSavePath(msg)
|
||||
return os.path.exists(path)
|
||||
|
||||
|
||||
@classmethod
|
||||
def saveConfComicData(cls,fileName,data,comicName=None):
|
||||
if not comicName == None:
|
||||
cls.setComicName(comicName)
|
||||
dirConfComic = cls.getDirConfComic()
|
||||
save_path = os.path.join(dirConfComic,fileName)
|
||||
cls.file_save(save_path, data)
|
||||
|
||||
@classmethod
|
||||
def getPathInitConfComicData(cls,fileName,comicName=None):
|
||||
if not comicName == None:
|
||||
cls.setComicName(comicName)
|
||||
dirConfComic = cls.getDirConfComic()
|
||||
save_path = os.path.join(dirConfComic,fileName)
|
||||
return save_path
|
||||
Reference in New Issue
Block a user