Commit 445a83f7 authored by liuzheng712's avatar liuzheng712

remove this log in loglist

parent bc1d89da
......@@ -228,6 +228,7 @@ class TermLogRecorder(object):
self._screen.reset()
def setid(self, id):
self.id = id
TermLogRecorder.loglist[str(id)] = self
def write(self, msg):
......@@ -283,6 +284,7 @@ class TermLogRecorder(object):
timestamp=int(self.recoderStartTime))
if self.user:
record.user.add(self.user)
TermLogRecorder.loglist[self.id].remove(self)
def list(self, user=None, uid=None):
tmp = []
......
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