From 2004278791a41f55338c1be7ee947c9b955360e4 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 11 Oct 2022 07:58:52 -0700 Subject: [PATCH] syntax error fix --- files/routes/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)