From f166522b26033e78465d08e74db43d267cd2a066 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 9 Jul 2022 13:19:15 +0200 Subject: [PATCH] try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context --- files/classes/comment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 66f2468354..29cbb96034 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -305,8 +305,7 @@ class Comment(Base): 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(None)] + data['replies'] = [x.json_core for x in self.replies()] return data