fg
This commit is contained in:
parent
a9bf1e68e2
commit
fe3ee0dbc4
1 changed files with 4 additions and 4 deletions
|
@ -266,7 +266,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
||||||
'score': self.score_fuzzed,
|
'score': self.score_fuzzed,
|
||||||
'upvotes': self.upvotes_fuzzed,
|
'upvotes': self.upvotes_fuzzed,
|
||||||
'downvotes': self.downvotes_fuzzed,
|
'downvotes': self.downvotes_fuzzed,
|
||||||
'award_count': self.award_count,
|
#'award_count': self.award_count,
|
||||||
'is_bot': self.is_bot
|
'is_bot': self.is_bot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -395,9 +395,9 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
||||||
def flag_count(self):
|
def flag_count(self):
|
||||||
return len(self.flags)
|
return len(self.flags)
|
||||||
|
|
||||||
@property
|
#@property
|
||||||
def award_count(self):
|
#def award_count(self):
|
||||||
return len(self.awards)
|
#return len(self.awards)
|
||||||
|
|
||||||
def collapse_for_user(self, v):
|
def collapse_for_user(self, v):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue