fix
This commit is contained in:
@@ -448,9 +448,12 @@ class comicInfo():
|
||||
cls.nextSavePath("done_",data)
|
||||
|
||||
@classmethod
|
||||
def nextExistsGetPath(cls,msg):
|
||||
def nextExistsGetPath(cls,msg,remove=False):
|
||||
path = cls.nextSavePath(msg)
|
||||
return os.path.exists(path)
|
||||
is_exists = os.path.exists(path)
|
||||
if remove and is_exists:
|
||||
os.remove(path)
|
||||
return is_exists
|
||||
|
||||
@classmethod
|
||||
def saveConfComicData(cls,fileName,data,comicName=None):
|
||||
|
||||
Reference in New Issue
Block a user