remotes/1693045480750635534/spooky-22
Aevann1 2021-07-29 08:59:04 +02:00
parent 2e86853af0
commit 38c958b5a5
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
return data
def voted(self, v):
x = g.db.query(CommentVote).filter_by(comment_id=self.id, user_id=g.v.id).first()
x = g.db.query(CommentVote).filter_by(comment_id=self.id, user_id=v.id).first()
if x: return x.vote_type
else: return 0