From 19bd6652afc61e5bd7cddf2cc888a4c1b7f39b62 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 26 Dec 2014 23:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index c1535e27d..b6156933c 100755 --- a/connect.py +++ b/connect.py @@ -122,7 +122,7 @@ def posix_shell(chan, username, host): except IOError: alert_print('Create logfile failed, Please modify %s permission.' % today_connect_log_dir) - log = Log(user=user, asset=asset, log_path=log_file_path, start_time=timestamp_now, pid=pid) + log = Log(user=user, asset=asset, log_path=log_file_path, start_time=timestamp_start, pid=pid) log.save() old_tty = termios.tcgetattr(sys.stdin)