wpd awards commit

pull/116/head
Aevann 2023-02-08 05:36:01 +02:00
parent 16dd13f3e0
commit 4d27bc46d3
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ class Submission(Base):
@lazy
def award_count(self, kind, v):
if v and v.poor:
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:
return 0
elif self.distinguish_level:
if SITE_NAME == 'rDrama' and kind in {'glowie', 'tilt',}: