forked from rDrama/rDrama
remove unnecessary lines
parent
75ae64fd35
commit
62e609da43
|
@ -267,11 +267,7 @@ class Comment(Base):
|
|||
|
||||
@lazy
|
||||
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 num > 4 and kind not in {"shit", "fireflies", "gingerbread"}:
|
||||
return 4
|
||||
return num
|
||||
return len([x for x in self.awards if x.kind == kind])
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Reference in New Issue