From d73eec76730433f7df67ded5cacd18f431e26bb3 Mon Sep 17 00:00:00 2001 From: IrvingGao <1729854488@qq.com> Date: Tue, 21 May 2024 02:01:51 +0800 Subject: [PATCH] update --- wifi_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wifi_manager.py b/wifi_manager.py index c7ffa4b..5cf652a 100644 --- a/wifi_manager.py +++ b/wifi_manager.py @@ -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)