dfsfs
This commit is contained in:
parent
11742d6f2c
commit
3b63719b00
2 changed files with 2 additions and 2 deletions
|
@ -370,7 +370,7 @@ class Comment(Base):
|
||||||
|
|
||||||
|
|
||||||
if self.author.sig_html and not self.ghost and (self.author_id == MOOSE_ID or not (v and v.sigs_disabled)):
|
if self.author.sig_html and not self.ghost and (self.author_id == MOOSE_ID or not (v and v.sigs_disabled)):
|
||||||
body += "<hr>{self.author.sig_html}"
|
body += f"<hr>{self.author.sig_html}"
|
||||||
|
|
||||||
return body
|
return body
|
||||||
|
|
||||||
|
|
|
@ -383,7 +383,7 @@ class Submission(Base):
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
if self.author.sig_html and not self.ghost and (self.author_id == MOOSE_ID or not (v and v.sigs_disabled)):
|
if self.author.sig_html and not self.ghost and (self.author_id == MOOSE_ID or not (v and v.sigs_disabled)):
|
||||||
body += "<hr>{self.author.sig_html}"
|
body += f"<hr>{self.author.sig_html}"
|
||||||
|
|
||||||
return body
|
return body
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue