This commit is contained in:
caiwx86 2023-01-16 04:28:00 +08:00
parent 5e5e852b54
commit d1483cd668
2 changed files with 5 additions and 2 deletions

View File

@ -472,9 +472,11 @@ class comicInfo():
return save_path
@classmethod
def updateComicDate(cls):
data = {}
def updateComicDate(cls,date=None):
data = {}
update_at = cls.str_updateAt
if date != None:
update_at = date
comic_name = cls.str_comicName
update_path = pathStr.base_comic_update
update_dir = os.path.dirname(update_path)

View File

@ -42,6 +42,7 @@ class baseComic:
#CBZUtils.replaceZip(cbz_path)
if comicInfo.nextExistsGetPath("done_") and not os.path.exists(cbz_path):
comicInfo.nextExistsGetPath("done_",remove=True)
comicInfo.updateComicDate("0")
chapter_index = chapter_index + 1
return None