Fix main.py

This commit is contained in:
Lauri Võsandi 2018-12-23 23:27:20 +02:00
parent a6d09a60cc
commit c2439c9540
1 changed files with 1 additions and 1 deletions

View File

@ -8,8 +8,8 @@ from timezone import TIMEZONES
app = picoweb.WebApp(__name__)
ap_if = network.WLAN(network.AP_IF)
sta_if = network.WLAN(network.STA_IF)
nets = sta_if.scan()
sta_if.active(True)
nets = sta_if.scan()
config = dict()
try:
with open("config.json") as fh: