From 0b2b16da05d734f7995e238a3d1cee82c891b6ca Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 23 Aug 2025 00:00:59 -0700 Subject: [PATCH] fix open networks --- system/ui/lib/wifi_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/ui/lib/wifi_manager.py b/system/ui/lib/wifi_manager.py index 7ed833ac22..f8892f5dda 100644 --- a/system/ui/lib/wifi_manager.py +++ b/system/ui/lib/wifi_manager.py @@ -265,7 +265,7 @@ class WifiManager: return conn_path return None - def connect_to_network(self, ssid: str, password: str | None): + def connect_to_network(self, ssid: str, password: str): def worker(): t = time.monotonic() @@ -294,7 +294,7 @@ class WifiManager: 'ipv6': {'method': 'ignore'}, } - if password is not None: + if password: connection['802-11-wireless-security'] = { 'key-mgmt': 'wpa-psk', 'auth-alg': 'open',