test: 尝试修复日志错误

This commit is contained in:
danial
2024-08-31 18:12:33 +08:00
parent a54da5af44
commit 3dcf887ef1

View File

@@ -221,5 +221,4 @@ def run():
print(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\t心跳正常", flush=True)
if datetime.now().minute % 2 != 0 and has_been_console:
has_been_console = False
print(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\t心跳正常", flush=True)
time.sleep(5)