forked from rDrama/rDrama
sfsfd
parent
24b8adc39e
commit
48ef8e3380
|
@ -297,7 +297,7 @@ class Comment(Base):
|
|||
return data
|
||||
|
||||
data["author"]=self.author.json_core
|
||||
data["post"]=self.post.json_core
|
||||
data["post"]=self.post.json_core if self.post else ''
|
||||
|
||||
if self.level >= 2:
|
||||
data["parent"]=self.parent.json_core
|
||||
|
|
Loading…
Reference in New Issue