summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-22 14:59:01 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:47:06 (GMT)
commite99b35d2828c9fa6eb6d098916b9b2ba5b96cc45 (patch)
tree7579800ad4db89ab96eb892191df4296afc170ee
parent3278b8a3828871f87ec932316da8112ab9c005c7 (diff)
fix output of Game.debug for non-ascii names
-rw-r--r--src/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.py b/src/game.py
index 9f5e5d8..201cb9f 100644
--- a/src/game.py
+++ b/src/game.py
@@ -615,7 +615,7 @@ class Game(object):
handId = self._prevHandId if prevHandId else self.handId
handId = unicodeString(handId.prompt(withMoveCount=True))
logDebug(
- u'%s%s: %s' % (prefix, handId, msg),
+ u'%s%s: %s' % (prefix, handId, unicodeString(msg)),
withGamePrefix=False,
btIndent=btIndent)