diff src/browser/sat_browser/card_game.py @ 580:79fbc20c786b

browser_side: fixes call to logging method with more than one argument
author souliane <souliane@mailoo.org>
date Sun, 19 Oct 2014 12:32:08 +0200
parents 67a4e8383b70
children
line wrap: on
line diff
--- a/src/browser/sat_browser/card_game.py	Sun Oct 19 02:45:18 2014 +0200
+++ b/src/browser/sat_browser/card_game.py	Sun Oct 19 12:32:08 2014 +0200
@@ -177,9 +177,9 @@
         def _getTarotCardsPathsCb(paths):
             log.debug("_getTarotCardsPathsCb")
             for file_ in paths:
-                log.debug("path:", file_)
+                log.debug("path: %s" % file_)
                 card = CardWidget(self, file_)
-                log.debug("card:", card)
+                log.debug("card: %s" % card)
                 self.cards[(card.suit, card.value)] = card
                 self.deck.append(card)
             self._parent.host.bridge.call('tarotGameReady', None, self.player_nick, self.referee)