restore distinguish behavior for wpd

pull/193/head
Aevann 2023-08-12 19:56:33 +03:00
parent 8716b45bda
commit 1519c32933
1 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,9 @@ class Post(Base):
if v and v.poor:
return 0
if self.distinguish_level and SITE_NAME == 'WPD':
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