From 7774bb5e6b30de98af0fa479e3961402bdbdaacd Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Dec 2023 12:54:02 +0000 Subject: [PATCH] save previous update --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index 6f16c95..9ebe519 100644 --- a/app.py +++ b/app.py @@ -155,7 +155,6 @@ def connect(data): emit('net_response', {'ip':'IP','mac':'Mac address','vendor':'Vendor resolution','dns':'Local DNS'}) socketio.start_background_task(bg_scan_network(data)) downhost=256-uphost - print(export_list) emit('net_response', {'ip':' ','mac':'Up:'+str(uphost),'vendor': 'Down:'+str(downhost),'dns':''}) #Export @app.route("/export", methods=['GET', 'POST']) @@ -189,4 +188,4 @@ def logout(): ##Start if __name__ == '__main__': - socketio.run(app, host='0.0.0.0', port='5005') + socketio.run(app, host='0.0.0.0', port='5005', allow_unsafe_werkzeug=True)