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