forked from MarseyWorld/MarseyWorld
should be no semicolon there
parent
2a66104d8b
commit
651355afdf
|
@ -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 ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue