debug scan

This commit is contained in:
IrvingGao 2024-05-25 22:35:54 +08:00
parent 85959cc0f7
commit 0694c52a86
1 changed files with 1 additions and 2 deletions

View File

@ -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: