forked from rDrama/rDrama
dffd
parent
1f60a5c30f
commit
9b9ede0dc3
|
@ -111,8 +111,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
||||||
def replies(self):
|
def replies(self):
|
||||||
|
|
||||||
r = self.__dict__.get("replies", None)
|
r = self.__dict__.get("replies", None)
|
||||||
if r is None:
|
if not r: r = self.child_comments
|
||||||
r = self.child_comments
|
|
||||||
return r
|
return r
|
||||||
|
|
||||||
@replies.setter
|
@replies.setter
|
||||||
|
@ -220,7 +219,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
||||||
def voted(self):
|
def voted(self):
|
||||||
|
|
||||||
x = self.__dict__.get("_voted")
|
x = self.__dict__.get("_voted")
|
||||||
if x is not None:
|
if x != None:
|
||||||
return x
|
return x
|
||||||
|
|
||||||
if g.v:
|
if g.v:
|
||||||
|
|
Loading…
Reference in New Issue