fix
This commit is contained in:
parent
9d2605d929
commit
f1029fa291
@ -127,6 +127,8 @@ class CBZUtils:
|
|||||||
str_ctime = datetime.fromtimestamp(int(ctime))
|
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)
|
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
|
c_ctime = 2023011603
|
||||||
|
else:
|
||||||
|
return False
|
||||||
if int(file_ctime) < c_ctime:
|
if int(file_ctime) < c_ctime:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user