remotes/1693045480750635534/spooky-22
Aevann1 2021-08-23 20:48:11 +02:00
parent f21740c956
commit 00fa071354
1 changed files with 2 additions and 3 deletions

View File

@ -114,9 +114,8 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
@property
def replies(self):
#r = self.__dict__.get("replies", None)
#if not r and r != []:
r = sorted([x for x in self.child_comments if not x.author.shadowbanned], key=lambda x: x.score, reverse=True)
r = self.__dict__.get("replies", None)
if not r and r != []: r = sorted([x for x in self.child_comments if not x.author.shadowbanned], key=lambda x: x.score, reverse=True)
return r
@replies.setter