From e4a3feeb9306c716a15d6f9ee62ec865ddc804d8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Oct 2023 20:35:10 +0300 Subject: [PATCH] fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5238237#context --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index c3da14150..ac6616959 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -715,7 +715,7 @@ class User(Base): total_awards = post_awards + comment_awards for a in total_awards: - kind = a.kind.replace(' Founder', '') + kind = a.kind.replace(' Founder', '').replace('emoji-hz', 'emoji') if kind in awards: awards[kind]['count'] += 1 else: