From 9d2605d929ebbc3ab069be7b13de7d8b22512d19 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 16 Jan 2023 03:27:43 +0800 Subject: [PATCH] fix --- utils/CBZUtils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/CBZUtils.py b/utils/CBZUtils.py index 538fdce..54fa23f 100644 --- a/utils/CBZUtils.py +++ b/utils/CBZUtils.py @@ -127,9 +127,9 @@ class CBZUtils: 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) c_ctime = 2023011603 - if int(file_ctime) > c_ctime: - return False - return True + if int(file_ctime) < c_ctime: + return True + return False class verUtils: @classmethod