@@ -147,9 +147,9 @@ def f_loop():
end_time = datetime.datetime.strptime(TODAY+" %d:%d:59" % (config.END_TIME[0], config.END_TIME[1]), '%Y-%m-%d %H:%M:%S')
if now >= end_time and not TODAY_SUCCESS: # 超过考勤时间
- print("[%s] 今日超过设置时间,将不打卡" % TODAY)
- TODAY_SUCCESS = True
- time.sleep(5)
+ print("[%s] 今日超过设置时间,重试中" % TODAY)
+ # TODAY_SUCCESS = True
+ time.sleep(60)
continue
if now >= TODAY_EXEC_TIME and not TODAY_SUCCESS: