From c7ccec4152a0b4c876c621250189ea7749ff875c Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 16 Jan 2023 03:11:55 +0800 Subject: [PATCH] fix --- utils/CBZUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/CBZUtils.py b/utils/CBZUtils.py index 87fd81d..f402eda 100644 --- a/utils/CBZUtils.py +++ b/utils/CBZUtils.py @@ -96,8 +96,8 @@ class CBZUtils: if os.path.exists(filepath): ctime = os.path.getmtime(filepath) str_ctime = datetime.fromtimestamp(int(ctime)) - file_ctime = str(str_ctime.year)+"{:0>2d}".format(str_ctime.month)+"{:0>2d}".format(str_ctime.day) - c_ctime = 20230117 + 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: return None else: