Commit 587c9b2c authored by liuzheng712's avatar liuzheng712

bugfix

parent 445a83f7
...@@ -284,7 +284,7 @@ class TermLogRecorder(object): ...@@ -284,7 +284,7 @@ class TermLogRecorder(object):
timestamp=int(self.recoderStartTime)) timestamp=int(self.recoderStartTime))
if self.user: if self.user:
record.user.add(self.user) record.user.add(self.user)
TermLogRecorder.loglist[self.id].remove(self) TermLogRecorder.loglist[str(self.id)].remove(self)
def list(self, user=None, uid=None): def list(self, user=None, uid=None):
tmp = [] 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