mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:29:26 +08:00
Update __init__.py
This commit is contained in:
+4
-2
@@ -273,7 +273,8 @@ def webssh(msg):
|
||||
recv = shell.recv(4096)
|
||||
emit('server_response', {'data': recv.decode("utf-8")})
|
||||
except Exception as ex:
|
||||
print 'webssh:' + str(ex)
|
||||
pass
|
||||
# print 'webssh:' + str(ex)
|
||||
|
||||
|
||||
@socketio.on('connect_event')
|
||||
@@ -287,7 +288,8 @@ def connected_msg(msg):
|
||||
print recv.decode("utf-8")
|
||||
emit('server_response', {'data': recv.decode("utf-8")})
|
||||
except Exception as e:
|
||||
print 'connected_msg:' + str(e)
|
||||
pass
|
||||
# print 'connected_msg:' + str(e)
|
||||
|
||||
|
||||
@socketio.on('panel')
|
||||
|
||||
Reference in New Issue
Block a user