mirror of
https://github.com/c0de-archive/pixoPython.git
synced 2024-12-21 21:12:39 +00:00
logic error
This commit is contained in:
parent
e01d14d076
commit
b8e082da13
@ -49,9 +49,7 @@ if not STA_IF.isconnected():
|
||||
for network in creds.WIFI_NETWORKS:
|
||||
if STA_IF.isconnected():
|
||||
break
|
||||
connect(STA_IF, 'Standard',
|
||||
creds.WIFI_NETWORKS[network][0],
|
||||
creds.WIFI_NETWORKS[network][1])
|
||||
connect(STA_IF, 'Standard', network[0], network[1])
|
||||
|
||||
# We check this twice to enable AP mode if we failed to connect
|
||||
# Normally this happens if the password has been misconfigured,
|
||||
|
Loading…
Reference in New Issue
Block a user