From b132091076ed13d7a1cb59151fa0e6ae07ebc460 Mon Sep 17 00:00:00 2001 From: James Scott Date: Sun, 16 Dec 2012 19:25:26 -0500 Subject: [PATCH] I think this will fix voting --- plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index c76ef83..6f9603d 100644 --- a/plugin.py +++ b/plugin.py @@ -226,7 +226,8 @@ class Cah(callbacks.Plugin): game.votes = {} game.voting = False winner = self._tallyVotes(game.votes) - game.game.end_round(winner[0], self.cardsPlayed) + print winner + game.game.end_round(winner[0][0], self.cardsPlayed) game._msg(self.channel, "%s wins the round!" % winner[0][0]) game.nextround()