From c51eab925ca8e8b7a100b3d03e04fcf838f4cc4d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 18 Jan 2022 00:39:11 +0200 Subject: [PATCH] vcxvxc --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 60aad3240..e59be64ac 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -228,7 +228,7 @@ class Comment(Base): @property @lazy def author_name(self): - if self.post and (self.award_count('ghosts') or self.post.award_count('ghosts')): return '👻' + if self.award_count('ghosts') or self.post and self.post.award_count('ghosts'): return '👻' else: return self.author.username @property