here I didn't use int to record the dict , changed

pull/167/head
liuzheng712 2016-03-27 11:13:15 +08:00
parent dc5751951e
commit bc1d89da89
1 changed files with 1 additions and 1 deletions

View File

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