fix
This commit is contained in:
parent
f1170868f0
commit
e61beb42a8
@ -70,10 +70,11 @@ class baseComic:
|
|||||||
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
||||||
# ciUtils.setProgressFail()
|
# ciUtils.setProgressFail()
|
||||||
cbz_path = ComicPath.getPathCBZComicChapter()
|
cbz_path = ComicPath.getPathCBZComicChapter()
|
||||||
file_date = int(fileUtils.getModificationDate(cbz_path,"%Y%m%d%H",not_exists="2010010101"))
|
#file_date = int(fileUtils.getModificationDate(cbz_path,"%Y%m%d%H",not_exists="2010010101"))
|
||||||
if file_date > 2023040610 and file_date < 2023040710:
|
#if file_date > 2023040610 and file_date < 2023040710:
|
||||||
os.remove(cbz_path)
|
# os.remove(cbz_path)
|
||||||
print(f"已删除CBZ, {cbz_path}")
|
if not os.path.exists(cbz_path):
|
||||||
|
print(f"CBZ不存在, {cbz_path}")
|
||||||
ciUtils.setProgressFail()
|
ciUtils.setProgressFail()
|
||||||
#不存在完成配置文件 则允许下载
|
#不存在完成配置文件 则允许下载
|
||||||
if not ciUtils.isProgressDone():
|
if not ciUtils.isProgressDone():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user