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