forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-28 06:17:19 +02:00
parent 1f60a5c30f
commit 9b9ede0dc3
1 changed files with 2 additions and 3 deletions

View File

@ -111,8 +111,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
def replies(self):
r = self.__dict__.get("replies", None)
if r is None:
r = self.child_comments
if not r: r = self.child_comments
return r
@replies.setter
@ -220,7 +219,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
def voted(self):
x = self.__dict__.get("_voted")
if x is not None:
if x != None:
return x
if g.v: