From 96bd397353567508f7af6b9ccd4783a71e4404fe Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 3 Feb 2022 11:43:00 +0200 Subject: [PATCH] dfg --- files/classes/comment.py | 2 +- files/templates/comments.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 5847c29ce..1b471674a 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -417,7 +417,7 @@ class Comment(Base): if self.is_banned: return True - if path.startswith('/post') and (self.slots_result or self.blackjack_result) and (not self.body or len(self.body) <= 20)and self.level > 1: return True + if path.startswith('/post') and (self.slots_result or self.blackjack_result) and (not self.body or len(self.body) <= 20) and self.level > 1: return True if v and v.filter_words and self.body and any(x in self.body for x in v.filter_words): return True diff --git a/files/templates/comments.html b/files/templates/comments.html index cea718d26..ce24f9cc3 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -916,7 +916,7 @@ {% include "expanded_image_modal.html" %} - +