update
This commit is contained in:
parent
31b531e713
commit
d73eec7673
|
@ -153,6 +153,7 @@ if __name__ == '__main__':
|
||||||
debug_mode = False # 设置为 True 以跳过 Wi-Fi 连接状态检测
|
debug_mode = False # 设置为 True 以跳过 Wi-Fi 连接状态检测
|
||||||
|
|
||||||
if not debug_mode:
|
if not debug_mode:
|
||||||
|
time.sleep(5) # 等待 Wi-Fi 连接
|
||||||
if check_wifi_connection():
|
if check_wifi_connection():
|
||||||
print(f"{datetime.datetime.now()} 已连接到 Wi-Fi 网络,退出程序")
|
print(f"{datetime.datetime.now()} 已连接到 Wi-Fi 网络,退出程序")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
Loading…
Reference in New Issue