From 37f24e4d2bf807c0d2517e2ed96af8800e33c1ca Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 14 Nov 2021 00:41:30 +0200 Subject: [PATCH] fdsfd --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a7d1bda1ac..973ecb0701 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -906,7 +906,7 @@ def submit_post(v): body_md = CustomRenderer().render(mistletoe.Document(body)) body_html = sanitize(body_md) - if len(body_html) < 20000 + if len(body_html) < 20000: c = Comment(author_id=SNAPPY_ACCOUNT, distinguish_level=6, parent_submission=new_post.id,