This commit is contained in:
Aevann1 2022-01-18 01:46:01 +02:00
parent 326b43d4bd
commit 47c4d8bb19

View file

@ -314,7 +314,7 @@ class Comment(Base):
if self.deleted_utc or self.is_banned: if self.deleted_utc or self.is_banned:
return data return data
data["author"]=self.author.json_core if self.author_name != '👻' else '' data["author"]=self.author.json_core if self.author_name != '👻' else '👻'
data["post"]=self.post.json_core if self.post else '' data["post"]=self.post.json_core if self.post else ''
if self.level >= 2: if self.level >= 2: