dfdf
This commit is contained in:
parent
12772aa039
commit
26b24e8b0f
1 changed files with 2 additions and 1 deletions
|
@ -285,7 +285,8 @@ def get_comments(cids, v=None, load_parent=False, **kwargs):
|
|||
|
||||
output = [x[0] for x in query]
|
||||
for i in range(len(output)):
|
||||
output[i]._voted = query[i][1].vote_type if query[i][1] else 0
|
||||
if query[i][1] != None: output[i]._voted = query[i][1].vote_type
|
||||
else: output[i]._voted = 0
|
||||
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue