forked from rDrama/rDrama
remove now-unnecessary line for award_count
parent
4a5a21c6fd
commit
1e6b7d0def
|
@ -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',}:
|
||||
|
|
Loading…
Reference in New Issue