fix
This commit is contained in:
parent
34dce1b071
commit
9d2a49a41b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user