Merge branch 'fix_passwd_input' of github.com:jumpserver/jumpserver into fix_passwd_input

pull/234/head^2
ibuler 2016-05-11 17:21:41 +08:00
commit 948763443e
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ class SshTty(Tty):
self.vim_flag = False
data = self.deal_command(data)[0:200]
if data is not None:
TtyLog(log=log, datetime=datetime.datetime.now(), cmd=result).save()
TtyLog(log=log, datetime=datetime.datetime.now(), cmd=data).save()
data = ''
self.vim_data = ''
input_mode = False