forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-18 00:39:11 +02:00
parent b2b13e0833
commit 63f4e2c95c
1 changed files with 1 additions and 1 deletions

View File

@ -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