Unverified Commit 77ec2d5a authored by 老广's avatar 老广 Committed by GitHub

Update connect.py

解决 index error的问题
parent 8b707dc8
......@@ -331,7 +331,7 @@ class SshTty(Tty):
if msg.errno == errno.EAGAIN:
continue
now_timestamp = time.time()
termlog.write(x)
#termlog.write(x)
termlog.recoder = False
log_time_f.write('%s %s\n' % (round(now_timestamp-pre_timestamp, 4), len(x)))
log_time_f.flush()
......
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