dfdf
This commit is contained in:
parent
8a9b7d505e
commit
1781d04767
2 changed files with 1 additions and 2 deletions
|
@ -165,9 +165,7 @@ def get_comment(i, v=None, graceful=False, **kwargs):
|
|||
|
||||
comment=g.db.query(Comment).filter(Comment.id == i).first()
|
||||
|
||||
print("sex")
|
||||
if not comment and not graceful: abort(404)
|
||||
print("fuck")
|
||||
|
||||
block = g.db.query(UserBlock).filter(
|
||||
or_(
|
||||
|
|
|
@ -183,6 +183,7 @@ def messagereply(v, username, id):
|
|||
if existing.parent_comment_id: return redirect(f'/notifications?messages=true#comment-{existing.parent_comment_id}')
|
||||
else: return redirect(f'/notifications?messages=true#comment-{existing.id}')
|
||||
|
||||
print("hi")
|
||||
with CustomRenderer() as renderer: text_html = renderer.render(mistletoe.Document(message))
|
||||
text_html = sanitize(text_html)
|
||||
parent = get_comment(int(id), v=v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue