fix
This commit is contained in:
1 parent
da76a2ce17
commit
83142498b3
3 files changed
+13
-12
No files matched your search
@@ -70,7 +70,8 @@ class baseComic:
|
||||
#if ciUtils.isProgressDone() and fu.notExists(ComicPath.getNewCBZComicChapter("file")):
|
||||
# ciUtils.setProgressFail()
|
||||
cbz_path = ComicPath.getPathCBZComicChapter()
|
||||
if fileUtils.getModificationDateYMD(cbz_path,not_exists="20101010") > 20230405:
|
||||
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}")
|
||||
ciUtils.setProgressFail()
|
||||
|
||||
Reference in new issue
Block a user