diff --git a/networkconfig.py b/networkconfig.py index 03b64a9..f2b8bf6 100644 --- a/networkconfig.py +++ b/networkconfig.py @@ -45,6 +45,9 @@ def send_response(client, payload, status_code=200): def handle_root(client): global wlan_sta + wlan_sta.active(True) + ssids = sorted(ssid.decode('utf-8') for ssid, *_ in wlan_sta.scan()) + response_header = """\