Commit 5e5164dc by Alexander Kryklia

fix

parent fedc68dd
...@@ -71,7 +71,7 @@ class PollModule(XModule): ...@@ -71,7 +71,7 @@ class PollModule(XModule):
Returns: Returns:
dict dict
""" """
if dispatch in self.poll_answers: # and not self.voted: if dispatch in self.poll_answers and not self.voted:
d = self.poll_answers d = self.poll_answers
d[dispatch] += 1 d[dispatch] += 1
self.voted = True self.voted = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment