fix
This commit is contained in:
@@ -293,10 +293,18 @@ class comicInfo():
|
||||
|
||||
@classmethod
|
||||
def getNewCBZComicChapter(cls):
|
||||
return cls.getNewToComicChapter(".CBZ")
|
||||
|
||||
@classmethod
|
||||
def getNewIconComicChapter(cls):
|
||||
return cls.getNewToComicChapter(".jpg")
|
||||
|
||||
@classmethod
|
||||
def getNewToComicChapter(cls,su):
|
||||
c_dir = cls.getDirCBZComicChapter()
|
||||
s_dir = cls.getSortDirCBZComicChapter()
|
||||
c_path = cls.getDirCBZComicChapter()+".CBZ"
|
||||
s_path = cls.getSortDirCBZComicChapter()+".CBZ"
|
||||
c_path = cls.getDirCBZComicChapter()+su
|
||||
s_path = cls.getSortDirCBZComicChapter()+su
|
||||
if os.path.exists(c_path) and s_path != None:
|
||||
shutil.move(c_path, s_path)
|
||||
print("文件已移动至:", s_path)
|
||||
|
||||
Reference in New Issue
Block a user