From be92fb7de747d272632eadac32a27ef2e64ab67d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 22 Sep 2021 00:12:30 +0200 Subject: [PATCH] fdsfsd --- files/classes/mod_logs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/classes/mod_logs.py b/files/classes/mod_logs.py index 5038bcfeb..785aee54a 100644 --- a/files/classes/mod_logs.py +++ b/files/classes/mod_logs.py @@ -95,8 +95,7 @@ class ModAction(Base): def target_link(self): if self.target_user: return f'{self.target_user.username}' elif self.target_post: return f'{self.target_post.title.replace("<","").replace(">","")}' - elif self.target_comment: return f'comment' - else: return "" + elif self.target_comment_id: return f'comment' @property @lazy