diff frontends/src/quick_frontend/quick_card_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 1fe00f0c9a91
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_card_game.py	Tue Oct 22 09:41:27 2013 +0200
+++ b/frontends/src/quick_frontend/quick_card_game.py	Tue Oct 22 16:24:11 2013 +0200
@@ -118,7 +118,7 @@
         if self._autoplay >= len(self.hand):
             self._autoplay = 0
         card = self.hand[self._autoplay]
-        self.parent.host.bridge.tarotGamePlayCards(self.player_nick, self.referee, [(card.suit, card.value)], profile_key = self.parent.host.profile)
+        self.parent.host.bridge.tarotGamePlayCards(self.player_nick, self.referee, [(card.suit, card.value)], self.parent.host.profile)
         del self.hand[self._autoplay]
         self.state = "wait"
         self._autoplay+=1