Mercurial > libervia-web
diff browser_side/card_game.py @ 334:9c6be29c714a
browser side: removed logging imports: it's not working correctly with pyjamas
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 04 Feb 2014 16:49:20 +0100 (2014-02-04) |
parents | aebb96bfa8d1 |
children | 2067d6241927 |
line wrap: on
line diff
--- a/browser_side/card_game.py Tue Feb 04 16:49:20 2014 +0100 +++ b/browser_side/card_game.py Tue Feb 04 16:49:20 2014 +0100 @@ -43,7 +43,6 @@ from datetime import datetime from time import time from sat_frontends.tools.games import TarotCard -from logging import error import re @@ -308,7 +307,7 @@ elif phase == "ecart": self.state = "ecart" else: - error('INTERNAL ERROR: unmanaged game phase') + print 'INTERNAL ERROR: unmanaged game phase' for suit, value in played_cards: self.hand.append(self.cards[(suit, value)])