Mercurial > libervia-backend
diff frontends/src/wix/quiz_game.py @ 680:8281587eb528
primitivus, wix: fixed bridge methods calls for plugins radiocol and card game
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 22 Oct 2013 16:24:11 +0200 |
parents | 84a6e83157c2 |
children | bfabeedbf32e |
line wrap: on
line diff
--- a/frontends/src/wix/quiz_game.py Tue Oct 22 09:41:27 2013 +0200 +++ b/frontends/src/wix/quiz_game.py Tue Oct 22 16:24:11 2013 +0200 @@ -152,7 +152,7 @@ self.players_data[i]['answer'] = None #True if the player gave a good answer self.players_data[i]['score'] = 0 self.answer.Bind(wx.EVT_TEXT_ENTER, self.answered) - self.parent.host.bridge.quizGameReady(player_nick, referee, profile_key = self.parent.host.profile) + self.parent.host.bridge.quizGameReady(player_nick, referee, self.parent.host.profile) self.state = None def answered(self, event): @@ -160,7 +160,7 @@ self.last_answer = self.answer.GetValue() self.answer.Clear() if self.last_answer: - self.parent.host.bridge.quizGameAnswer(self.player_nick, self.referee, self.last_answer, profile_key = self.parent.host.profile) + self.parent.host.bridge.quizGameAnswer(self.player_nick, self.referee, self.last_answer, self.parent.host.profile) def quizGameTimerExpired(self): """Called when nobody answered the question in time"""