forked from MarseyWorld/MarseyWorld
syntax error fix
parent
39e49a508f
commit
2004278791
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue