From 77ec2d5a865b0f6e06219fdc3994f1ee19eefbd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 4 Dec 2017 16:14:33 +0800 Subject: [PATCH] Update connect.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决 index error的问题 --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index c40ff932a..4025c96a5 100755 --- a/connect.py +++ b/connect.py @@ -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()