diff --git a/files/helpers/get.py b/files/helpers/get.py index e10ef0a1d..b741dbbc1 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -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_( diff --git a/files/routes/users.py b/files/routes/users.py index aea4c2bee..9fdcbdfd0 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -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)