should be no semicolon there

master
justcool393 2022-10-05 16:37:16 -07:00
parent 2a66104d8b
commit 651355afdf
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class Submission(Base):
def realbody(self, v, listing=False): def realbody(self, v, listing=False):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{CC} ONLY</p>" if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{CC} ONLY</p>"
if self.deleted_utc != 0 and not (v and (v.admin_level >= 2) or v.id == self.author.id): return "[Deleted by user]" if self.deleted_utc != 0 and not (v and (v.admin_level >= 2) or v.id == self.author.id): return "[Deleted by user]"
if self.is_banned and not (v and v.admin_level >= 2): return "[Removed by admins]"; if self.is_banned and not (v and v.admin_level >= 2): return "[Removed by admins]"
body = self.body_html or "" body = self.body_html or ""