forked from MarseyWorld/MarseyWorld
hide titles on removed posts
parent
7c8b9a0d0a
commit
629eacae72
|
@ -140,7 +140,7 @@ class Post(Base):
|
||||||
link = f"/post/{self.id}"
|
link = f"/post/{self.id}"
|
||||||
if self.hole: link = f"/h/{self.hole}{link}"
|
if self.hole: link = f"/h/{self.hole}{link}"
|
||||||
|
|
||||||
if self.hole and self.hole in {'chudrama', 'countryclub', 'highrollerclub'}:
|
if self.is_banned or self.hole and self.hole in {'chudrama', 'countryclub', 'highrollerclub'}:
|
||||||
output = '-'
|
output = '-'
|
||||||
else:
|
else:
|
||||||
title = self.plaintitle(None).lower()
|
title = self.plaintitle(None).lower()
|
||||||
|
|
Loading…
Reference in New Issue