修改bug

pull/6/head
ibuler 2014-12-26 23:59:12 +08:00
parent 0d48884e19
commit 19bd6652af
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def posix_shell(chan, username, host):
except IOError: except IOError:
alert_print('Create logfile failed, Please modify %s permission.' % today_connect_log_dir) 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() log.save()
old_tty = termios.tcgetattr(sys.stdin) old_tty = termios.tcgetattr(sys.stdin)