forked from rDrama/rDrama
1
0
Fork 0

remove now-unnecessary line for award_count

master
Aevann 2023-07-17 17:47:11 +03:00
parent 4a5a21c6fd
commit 1e6b7d0def
1 changed files with 1 additions and 3 deletions

View File

@ -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',}: