修复黑名单,之前搞成没三分钟清零了,抱歉
This commit is contained in:
parent
52f65d80fa
commit
570b0645f8
@ -678,7 +678,7 @@ if __name__ == '__main__':
|
|||||||
# 判断是否达到设定时间
|
# 判断是否达到设定时间
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
# 到达设定时间,结束内循环
|
# 到达设定时间,结束内循环
|
||||||
if now.hour == 23 and now.minute > 55:
|
if now.hour == 23 and now.minute > 50:
|
||||||
counter = {} # 每天初始化黑名单
|
counter = {} # 每天初始化黑名单
|
||||||
|
|
||||||
tools_list, keyword_list, user_list = load_tools_list()
|
tools_list, keyword_list, user_list = load_tools_list()
|
||||||
|
Loading…
Reference in New Issue
Block a user