kopia lustrzana https://github.com/tayfunulu/WiFiManager
rodzic
9c5865307a
commit
da27e14704
|
@ -94,7 +94,7 @@ def do_connect(ssid, password):
|
||||||
print('.', end='')
|
print('.', end='')
|
||||||
if connected:
|
if connected:
|
||||||
print('\nConnected. Network config: ', wlan_sta.ifconfig())
|
print('\nConnected. Network config: ', wlan_sta.ifconfig())
|
||||||
wlan_ap.active(False)
|
|
||||||
else:
|
else:
|
||||||
print('\nFailed. Not Connected to: ' + ssid)
|
print('\nFailed. Not Connected to: ' + ssid)
|
||||||
return connected
|
return connected
|
||||||
|
@ -212,6 +212,7 @@ def handle_configure(client, request):
|
||||||
</html>
|
</html>
|
||||||
""" % dict(ssid=ssid)
|
""" % dict(ssid=ssid)
|
||||||
send_response(client, response)
|
send_response(client, response)
|
||||||
|
wlan_ap.active(False)
|
||||||
try:
|
try:
|
||||||
profiles = read_profiles()
|
profiles = read_profiles()
|
||||||
except OSError:
|
except OSError:
|
||||||
|
|
Ładowanie…
Reference in New Issue