From 1a8887167d109edadc8a8aa49618febcbd8d9761 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 23 Oct 2021 02:08:55 +0200 Subject: [PATCH] popover --- 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 a382bbe75f..ff214173ef 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