From 6684fd761e0874d8feff680c9115e1a358618152 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Wed, 9 Sep 2020 20:25:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug=20=E4=B8=BA=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E7=9A=84=E8=AF=84=E8=AE=BA=E4=BF=9D=E7=95=99name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 6c1d0c3..ab8373e 100644 --- a/utils.py +++ b/utils.py @@ -56,7 +56,7 @@ def map_comment(p, name): 'text': c.content, 'timestamp': c.timestamp, 'can_del': check_can_del(name, c.name_hash) - } for c in p.comments if not c.deleted + } for c in p.comments if not (c.deleted and gen_name_id(c.name_hash)>=0) ] def map_syslog(s):