Commit 3ef3b452 authored by kelianchun_miller's avatar kelianchun_miller

fix passwd input

parent dff50305
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment