fix
This commit is contained in:
1 parent
5e5e852b54
commit
d1483cd668
2 files changed
+5
-2
No files matched your search
@@ -472,9 +472,11 @@ class comicInfo():
|
|||||||
return save_path
|
return save_path
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def updateComicDate(cls):
|
def updateComicDate(cls,date=None):
|
||||||
data = {}
|
data = {}
|
||||||
update_at = cls.str_updateAt
|
update_at = cls.str_updateAt
|
||||||
|
if date != None:
|
||||||
|
update_at = date
|
||||||
comic_name = cls.str_comicName
|
comic_name = cls.str_comicName
|
||||||
update_path = pathStr.base_comic_update
|
update_path = pathStr.base_comic_update
|
||||||
update_dir = os.path.dirname(update_path)
|
update_dir = os.path.dirname(update_path)
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ class baseComic:
|
|||||||
#CBZUtils.replaceZip(cbz_path)
|
#CBZUtils.replaceZip(cbz_path)
|
||||||
if comicInfo.nextExistsGetPath("done_") and not os.path.exists(cbz_path):
|
if comicInfo.nextExistsGetPath("done_") and not os.path.exists(cbz_path):
|
||||||
comicInfo.nextExistsGetPath("done_",remove=True)
|
comicInfo.nextExistsGetPath("done_",remove=True)
|
||||||
|
comicInfo.updateComicDate("0")
|
||||||
chapter_index = chapter_index + 1
|
chapter_index = chapter_index + 1
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user