Update connect.py

解决 index error的问题
This commit is contained in:
老广
2017-12-04 16:14:33 +08:00
committed by GitHub
parent 8b707dc8f5
commit 77ec2d5a86

View File

@@ -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()