From f5d3d5c5705c3703143683c650a6271193e71de7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 23 Oct 2021 02:09:34 +0200 Subject: [PATCH] dfsfds --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index ff214173e..a382bbe75 100755 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -197,7 +197,7 @@ def api_comment(v): Comment.parent_submission == parent_submission, Comment.body == body ).first() - if existing: \return {"error": f"You already made that comment: {existing.permalink}"}, 409 + if existing: return {"error": f"You already made that comment: {existing.permalink}"}, 409 if parent.author.any_block_exists(v) and not v.admin_level>=3: return {"error": "You can't reply to users who have blocked you, or users you have blocked."}, 403