forked from MarseyWorld/MarseyWorld
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5238237#context
parent
ce4f9720c6
commit
e4a3feeb93
|
@ -715,7 +715,7 @@ class User(Base):
|
||||||
total_awards = post_awards + comment_awards
|
total_awards = post_awards + comment_awards
|
||||||
|
|
||||||
for a in total_awards:
|
for a in total_awards:
|
||||||
kind = a.kind.replace(' Founder', '')
|
kind = a.kind.replace(' Founder', '').replace('emoji-hz', 'emoji')
|
||||||
if kind in awards:
|
if kind in awards:
|
||||||
awards[kind]['count'] += 1
|
awards[kind]['count'] += 1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue