fix: if bssid not in the dict it can result in empty list until refresh

This commit is contained in:
Alfredo Monclus committed 2026-01-28 20:31:28 -03:00
1 parent f123c0ae1e
commit 25fd11dcd6
1 file changed
+2
+2
View File
@@ -112,6 +112,8 @@ class Panel(ScreenPanel):
def load_networks(self):
for net in self.sdbus_nm.get_networks():
if 'BSSID' not in net:
continue
self.add_network(net['BSSID'])
GLib.timeout_add_seconds(10, self._gtk.Button_busy, self.reload_button, False)
self.content.show_all()