fix
This commit is contained in:
1 parent
82a2e8cffe
commit
cffce0f8b7
2 files changed
+9
-2
No files matched your search
@@ -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