diff --git a/stage_wifi_setup/stage0_1_ap.sh b/stage_wifi_setup/stage0_1_ap.sh index 204f6b3..dc5a0af 100644 --- a/stage_wifi_setup/stage0_1_ap.sh +++ b/stage_wifi_setup/stage0_1_ap.sh @@ -372,7 +372,7 @@ pre{white-space:pre-wrap;background:#f6f6f6;border-radius:10px;padding:12px} -
After successful connection, the access point %(hostname_note)s will disappear.
+
After successful connection, the access point __HOSTNAME_NOTE__ will disappear.
@@ -397,9 +397,8 @@ async function connect(){ } -""" % { - "hostname_note": HOSTNAME if HOSTNAME else "device access point" -} +""" +HTML = HTML.replace("__HOSTNAME_NOTE__", HOSTNAME if HOSTNAME else "device access point") class Handler(BaseHTTPRequestHandler):