aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-10 17:16:00 +0100
committerGravatar jesopo2019-10-10 17:16:00 +0100
commitdd94f3a918ba0f84e936dff6a902c5de392267ab (patch)
treea766d6cb2d0a7fa0f6659700c8ab6ea83b4c7039 /modules
parentdont say a vote has changed when it's been "changed" to the same option (diff)
signature
'.values()' -> '.items()'
Diffstat (limited to 'modules')
-rw-r--r--modules/vote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vote.py b/modules/vote.py
index 9c39b51f..30043fe0 100644
--- a/modules/vote.py
+++ b/modules/vote.py
@@ -53,7 +53,7 @@ class Module(ModuleManager.BaseModule):
cast_type = VoteCastResult.Cast
- for option, nicks in vote["options"].values():
+ for option, nicks in vote["options"].items():
if user.name in nicks:
if option == chosen_option:
return VoteCastResult.Unchanged