Browse Source

修复细节错误

iaun 5 năm trước cách đây
mục cha
commit
37812f1fe8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()