fdsfd
This commit is contained in:
parent
dd4fb5b411
commit
872b1b11eb
8 changed files with 13 additions and 14 deletions
|
@ -216,7 +216,7 @@ def api_vote_poll(comment_id, v):
|
|||
g.db.add(existing)
|
||||
else: g.db.delete(existing)
|
||||
elif new == 1:
|
||||
vote = CommentVote(user_id=v.id, vote_type=new, comment_id=comment.id, real=True)
|
||||
vote = CommentVote(user_id=v.id, vote_type=new, comment_id=comment.id)
|
||||
g.db.add(vote)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue