hide ricardo for loggedout

pull/222/head
Aevann 2024-02-16 14:50:44 +02:00
parent 892137f23b
commit 91d7d16d9f
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ class Post(Base):
if self.distinguished and SITE_NAME == 'WPD':
return 0
if not v and kind == "ricardo":
return 0
num = len([x for x in self.awards if x.kind == kind])
if kind in {"shit", "fireflies", "tilt"}: