From 95194359fa0a2c8c3a82e7beecbe98fff87929b5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 9 Jul 2022 15:29:00 +0200 Subject: [PATCH] Revert "Revert "try to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context"" This reverts commit 5dcd678193e8e17ddca5d4384a9e0cb8983351cd. --- 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 66f246835..29cbb9603 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