From cf5faf4862cc6656ca9f16a072c009a426e44516 Mon Sep 17 00:00:00 2001 From: Tayfun ULU Date: Mon, 23 Oct 2017 09:59:02 +0300 Subject: [PATCH] version 1.9.2 compatibility it's not the optimum solution for compatibility problem between 1.8 and 1.9. But it's working :) --- networkconfig.py | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/networkconfig.py b/networkconfig.py index 95de437..f8138f0 100644 --- a/networkconfig.py +++ b/networkconfig.py @@ -37,6 +37,7 @@ def send_response(client, payload, status_code=200): client.sendall(payload) def handle_root(client): + global wlan_sta response_header = """

Wi-Fi Client Setup

@@ -44,6 +45,7 @@ def handle_root(client): Wifi Name