syntax error fix

master
justcool393 2022-10-11 07:58:52 -07:00
parent 39e49a508f
commit 2004278791
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ def searchcomments(v):
if 'post' in criteria: if 'post' in criteria:
try: post = int(criteria['post']) 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) comments = comments.filter(Comment.parent_submission == post)