Fix main.py
This commit is contained in:
parent
a6d09a60cc
commit
c2439c9540
@ -8,8 +8,8 @@ from timezone import TIMEZONES
|
|||||||
app = picoweb.WebApp(__name__)
|
app = picoweb.WebApp(__name__)
|
||||||
ap_if = network.WLAN(network.AP_IF)
|
ap_if = network.WLAN(network.AP_IF)
|
||||||
sta_if = network.WLAN(network.STA_IF)
|
sta_if = network.WLAN(network.STA_IF)
|
||||||
nets = sta_if.scan()
|
|
||||||
sta_if.active(True)
|
sta_if.active(True)
|
||||||
|
nets = sta_if.scan()
|
||||||
config = dict()
|
config = dict()
|
||||||
try:
|
try:
|
||||||
with open("config.json") as fh:
|
with open("config.json") as fh:
|
||||||
|
Loading…
Reference in New Issue
Block a user