This commit is contained in:
caiwx86 2023-04-07 11:18:03 +08:00
parent f1170868f0
commit e61beb42a8

View File

@ -70,10 +70,11 @@ class baseComic:
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
# ciUtils.setProgressFail()
cbz_path = ComicPath.getPathCBZComicChapter()
file_date = int(fileUtils.getModificationDate(cbz_path,"%Y%m%d%H",not_exists="2010010101"))
if file_date > 2023040610 and file_date < 2023040710:
os.remove(cbz_path)
print(f"已删除CBZ, {cbz_path}")
#file_date = int(fileUtils.getModificationDate(cbz_path,"%Y%m%d%H",not_exists="2010010101"))
#if file_date > 2023040610 and file_date < 2023040710:
# os.remove(cbz_path)
if not os.path.exists(cbz_path):
print(f"CBZ不存在, {cbz_path}")
ciUtils.setProgressFail()
#不存在完成配置文件 则允许下载
if not ciUtils.isProgressDone():