From 587c9b2c3f334b823c17d28607d51ddc3d73f26a Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Sun, 27 Mar 2016 22:20:20 +0800 Subject: [PATCH] bugfix --- jlog/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlog/views.py b/jlog/views.py index c43624989..9917ad9ec 100644 --- a/jlog/views.py +++ b/jlog/views.py @@ -284,7 +284,7 @@ class TermLogRecorder(object): timestamp=int(self.recoderStartTime)) if 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): tmp = []