diff --git a/files/classes/comment.py b/files/classes/comment.py index 39af182c8..215186761 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -262,7 +262,8 @@ class Comment(Base): def award_count(self, kind, v): if v and v.poor and kind.islower(): return 0 num = len([x for x in self.awards if x.kind == kind]) - if kind == 'tilt' and num > 4: return 4 + if num > 4 and kind not in {"shit", "fireflies", "gingerbread"}: + return 4 return num @property diff --git a/files/classes/post.py b/files/classes/post.py index 6929962ef..ab5ede612 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -255,7 +255,8 @@ class Post(Base): return 0 num = len([x for x in self.awards if x.kind == kind]) - if kind == 'tilt' and num > 4: return 4 + if num > 4 and kind not in {"shit", "fireflies", "gingerbread"}: + return 4 return num @lazy diff --git a/files/templates/awards.html b/files/templates/awards.html index e49997bbd..cbe103299 100644 --- a/files/templates/awards.html +++ b/files/templates/awards.html @@ -1,7 +1,7 @@