mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 00:15:20 +00:00
Update connect.py
解决 index error的问题
This commit is contained in:
@@ -331,7 +331,7 @@ class SshTty(Tty):
|
|||||||
if msg.errno == errno.EAGAIN:
|
if msg.errno == errno.EAGAIN:
|
||||||
continue
|
continue
|
||||||
now_timestamp = time.time()
|
now_timestamp = time.time()
|
||||||
termlog.write(x)
|
#termlog.write(x)
|
||||||
termlog.recoder = False
|
termlog.recoder = False
|
||||||
log_time_f.write('%s %s\n' % (round(now_timestamp-pre_timestamp, 4), len(x)))
|
log_time_f.write('%s %s\n' % (round(now_timestamp-pre_timestamp, 4), len(x)))
|
||||||
log_time_f.flush()
|
log_time_f.flush()
|
||||||
|
Reference in New Issue
Block a user