kopia lustrzana https://github.com/tayfunulu/WiFiManager
Fix string formating
rodzic
35727e21d9
commit
540770e959
|
@ -207,7 +207,7 @@ def handle_configure(client, request):
|
||||||
if link_to_next_webui:
|
if link_to_next_webui:
|
||||||
response += """\
|
response += """\
|
||||||
<p style="text-align: center;">
|
<p style="text-align: center;">
|
||||||
<a href="http://%(ip)/">To new Interface</a><br>
|
<a href="http://%(ip)s/">To new Interface</a><br>
|
||||||
(You must be connected to the set network to follow this Link)
|
(You must be connected to the set network to follow this Link)
|
||||||
</p>
|
</p>
|
||||||
""" % dict(ip=wlan_sta.ifconfig()[0])
|
""" % dict(ip=wlan_sta.ifconfig()[0])
|
||||||
|
@ -299,4 +299,3 @@ def start(port=80):
|
||||||
handle_not_found(client, url)
|
handle_not_found(client, url)
|
||||||
finally:
|
finally:
|
||||||
client.close()
|
client.close()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue