This commit is contained in:
caiwx86 2023-01-16 03:17:28 +08:00
parent 34dce1b071
commit 9d2a49a41b
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class CBZUtils:
str_ctime = datetime.fromtimestamp(int(ctime))
file_ctime = str(str_ctime.year)+"{:0>2d}".format(str_ctime.month)+"{:0>2d}".format(str_ctime.day)+"{:0>2d}".format(str_ctime.hour)
c_ctime = 2023011603
if int(file_ctime) < c_ctime:
if int(file_ctime) > c_ctime:
return None
else:
return None

View File

@ -37,7 +37,7 @@ class baseComic:
for chapter in chapters:
comicInfo.setChapterIndex(chapter_index)
comicInfo.setChapterName(chapter)
cbz_path = comicInfo.getNewCBZComicChapter()+".CBZ"
cbz_path = comicInfo.getNewCBZComicChapter("file")
comicInfo.getNewIconComicChapter()
CBZUtils.replaceZip(cbz_path)
chapter_index = chapter_index + 1