save previous update

main
root 2023-12-14 12:54:02 +00:00
parent 8d0dce1267
commit 7774bb5e6b
1 changed files with 1 additions and 2 deletions

3
app.py
View File

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