Update __init__.py

This commit is contained in:
midoks 2019-08-02 08:30:14 +08:00
parent a459712944
commit b0ffb52e2e
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ def webssh(msg):
@socketio.on('connect_event')
def connected_msg(msg):
if not isLogined():
emit(pdata.s_response, {'data': '会话丢失,请重新登陆面板!\r\n'})
emit('server_response', {'data': '会话丢失,请重新登陆面板!\r\n'})
return None
global shell, ssh
ssh_success = True