This commit is contained in:
IrvingGao 2024-05-21 02:01:51 +08:00
parent 31b531e713
commit d73eec7673
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ if __name__ == '__main__':
debug_mode = False # 设置为 True 以跳过 Wi-Fi 连接状态检测
if not debug_mode:
time.sleep(5) # 等待 Wi-Fi 连接
if check_wifi_connection():
print(f"{datetime.datetime.now()} 已连接到 Wi-Fi 网络,退出程序")
exit(0)