forked from MarseyWorld/MarseyWorld
Revert "Revert "Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context"""
This reverts commit 95194359fa
.
master
parent
95194359fa
commit
79824227de
|
@ -305,7 +305,8 @@ class Comment(Base):
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue