pull/167/head
liuzheng712 2016-03-24 17:29:50 +08:00
parent ba5e90abc3
commit 3fcd9589a4
1 changed files with 0 additions and 1 deletions

View File

@ -344,7 +344,6 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
self.term.remote_ip = self.request.remote_ip
self.ssh = self.term.get_connection()
self.channel = self.ssh.invoke_shell(term='xterm')
self.channel.resize_pty(80, 24)
WebTerminalHandler.tasks.append(MyThread(target=self.forward_outbound))
WebTerminalHandler.clients.append(self)