forked from MarseyWorld/MarseyWorld
try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context
parent
4a3aec0859
commit
f166522b26
|
@ -305,8 +305,7 @@ class Comment(Base):
|
||||||
|
|
||||||
if self.level>=2: data['parent_comment_id']= self.parent_comment_id
|
if self.level>=2: data['parent_comment_id']= self.parent_comment_id
|
||||||
|
|
||||||
if "replies" in self.__dict__:
|
data['replies'] = [x.json_core for x in self.replies()]
|
||||||
data['replies']=[x.json_core for x in self.replies(None)]
|
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue