Explorar el Código

修复细节错误

iaun hace 5 años
padre
commit
37812f1fe8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      kaoqin.py

+ 1 - 1
kaoqin.py

@@ -116,9 +116,9 @@ def f_loop():
     while True:
         if not config.check_rule():
             if not TODAY_SUCCESS or not TODAY == getToday():
-                print("[%s] 今日无需打卡" % TODAY)
                 TODAY = getToday()
                 TODAY_SUCCESS = True
+                print("[%s] 今日无需打卡" % TODAY)
             time.sleep(5)
             continue
         now = datetime.datetime.now()