From 3ef3b452e29ec5a585a314ab577d7bc418bff5cd Mon Sep 17 00:00:00 2001 From: kelianchun_miller Date: Wed, 11 May 2016 17:21:15 +0800 Subject: [PATCH] fix passwd input --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index 5073d2d47..f9adccd79 100755 --- a/connect.py +++ b/connect.py @@ -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