fix
This commit is contained in:
parent
34dce1b071
commit
9d2a49a41b
@ -98,7 +98,7 @@ class CBZUtils:
|
|||||||
str_ctime = datetime.fromtimestamp(int(ctime))
|
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)
|
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
|
c_ctime = 2023011603
|
||||||
if int(file_ctime) < c_ctime:
|
if int(file_ctime) > c_ctime:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|||||||
@ -37,7 +37,7 @@ class baseComic:
|
|||||||
for chapter in chapters:
|
for chapter in chapters:
|
||||||
comicInfo.setChapterIndex(chapter_index)
|
comicInfo.setChapterIndex(chapter_index)
|
||||||
comicInfo.setChapterName(chapter)
|
comicInfo.setChapterName(chapter)
|
||||||
cbz_path = comicInfo.getNewCBZComicChapter()+".CBZ"
|
cbz_path = comicInfo.getNewCBZComicChapter("file")
|
||||||
comicInfo.getNewIconComicChapter()
|
comicInfo.getNewIconComicChapter()
|
||||||
CBZUtils.replaceZip(cbz_path)
|
CBZUtils.replaceZip(cbz_path)
|
||||||
chapter_index = chapter_index + 1
|
chapter_index = chapter_index + 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user