debug scan
This commit is contained in:
parent
85959cc0f7
commit
0694c52a86
|
@ -202,7 +202,6 @@ def disconnect_wifi():
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
global wifi_list
|
global wifi_list
|
||||||
print(wifi_list)
|
|
||||||
|
|
||||||
response = make_response(render_template('index.html', wifi_list=wifi_list))
|
response = make_response(render_template('index.html', wifi_list=wifi_list))
|
||||||
response.headers.set('Content-Type', 'text/html')
|
response.headers.set('Content-Type', 'text/html')
|
||||||
|
@ -238,7 +237,7 @@ if __name__ == '__main__':
|
||||||
if debug_mode:
|
if debug_mode:
|
||||||
disconnect_wifi()
|
disconnect_wifi()
|
||||||
|
|
||||||
scan_wifi()
|
print(scan_wifi())
|
||||||
|
|
||||||
'''
|
'''
|
||||||
if led_enabled:
|
if led_enabled:
|
||||||
|
|
Loading…
Reference in New Issue