forked from MarseyWorld/MarseyWorld
Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context"
This reverts commit f166522b26
.
master
parent
f166522b26
commit
5dcd678193
|
@ -305,7 +305,8 @@ 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
|
||||||
|
|
||||||
data['replies'] = [x.json_core for x in self.replies()]
|
if "replies" in self.__dict__:
|
||||||
|
data['replies']=[x.json_core for x in self.replies(None)]
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue