forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-07 17:53:09 +02:00
parent 8a6b09af80
commit b9515ab1c1
1 changed files with 1 additions and 1 deletions

View File

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