From 1e6b7d0def6dddd6364d41a5ebe61b45535028b1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 17 Jul 2023 17:47:11 +0300 Subject: [PATCH] remove now-unnecessary line for award_count --- files/classes/post.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/classes/post.py b/files/classes/post.py index 3604a6a03a..56bbb137e5 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -245,9 +245,7 @@ class Post(Base): @lazy def award_count(self, kind, v): - if SITE_NAME == 'WPD' and not v and kind in {'confetti', 'fireworks'} and self.sub not in {'meta', 'discussion', 'social', 'music'}: - return 0 - elif v and v.poor: + if v and v.poor: return 0 elif self.distinguish_level: if SITE_NAME == 'rDrama' and kind in {'glowie', 'tilt',}: