mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update __init__.py
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ def connected_msg(msg):
|
|||||||
global shell, ssh
|
global shell, ssh
|
||||||
try:
|
try:
|
||||||
recv = shell.recv(8192)
|
recv = shell.recv(8192)
|
||||||
print recv.decode("utf-8")
|
# print recv.decode("utf-8")
|
||||||
emit('server_response', {'data': recv.decode("utf-8")})
|
emit('server_response', {'data': recv.decode("utf-8")})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user