diff --git a/files/routes/search.py b/files/routes/search.py index b9336e099e..addfb9c376 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -193,7 +193,7 @@ def searchcomments(v): if 'post' in criteria: try: post = int(criteria['post']) - except: abort(404, f"Post with id {post} does not exist."}) + except: abort(404, f"Post with id {post} does not exist.") comments = comments.filter(Comment.parent_submission == post)