forked from Pavel_Durov/python_bot
fixxxxx
This commit is contained in:
parent
8c269fd768
commit
77b6293ea6
@ -17,6 +17,7 @@ def rolltime(check_datetime , curr_time=datetime.datetime.now()):
|
||||
# print(f'\tcurr_time : {curr_time.strftime("%Y-%m-%d %H:%M:%S")}')
|
||||
# print(f'\t\tsecs diff : {timediff}')
|
||||
|
||||
|
||||
if timediff > 86400 or (curr_time > time_to_grow and last_time < time_to_grow):
|
||||
return True
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user