From bc1d89da89f780e792da0cdb2b09b23e75b59a49 Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Sun, 27 Mar 2016 11:13:15 +0800 Subject: [PATCH] here I didn't use int to record the dict , changed --- run_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_server.py b/run_server.py index d44fff2f9..596d409be 100755 --- a/run_server.py +++ b/run_server.py @@ -446,7 +446,7 @@ class MonitorHandler(WebTerminalHandler): @require_auth('user') def open(self): try: - self.returnlog = TermLogRecorder.loglist[int(self.get_argument('id'))] + self.returnlog = TermLogRecorder.loglist[self.get_argument('id')] self.returnlog.write_message = self.write_message except: self.write_message('Log is None')