Update run_server.py

pull/149/head
kelianchun 2016-03-23 12:37:55 +08:00
parent e6254ddc2c
commit 73382cbcfb
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
else: else:
data = self.term.deal_command(self.term.data)[0:200] data = self.term.deal_command(self.term.data)[0:200]
if len(data) > 0: if len(data) > 0:
TtyLog(log=self.log, datetime=datetime.datetime.now(),cmd=data).save() TtyLog(log=self.log, datetime=datetime.datetime.now(), cmd=data).save()
self.term.vim_data = '' self.term.vim_data = ''
self.term.data = '' self.term.data = ''
self.term.input_mode = False self.term.input_mode = False