vcxvxc
This commit is contained in:
parent
2a778f77ba
commit
c51eab925c
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class Comment(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def author_name(self):
|
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
|
else: return self.author.username
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue