summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-14 09:31:48 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-25 06:43:12 (GMT)
commitf001f762ae0f9cf7d419bddfeb16c1575505831b (patch)
treecb0c8112f7237b591c7c614fbe0b6417d73ae59e
parent7207f99698aec6dec3819d4bc61ad17045e51ed2 (diff)
Hand: __NotWon has no .message in Py3
-rw-r--r--src/hand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hand.py b/src/hand.py
index c509ff9..4fd5bc8 100644
--- a/src/hand.py
+++ b/src/hand.py
@@ -132,7 +132,7 @@ class Hand(object):
self.__arranged = True
except Hand.__NotWon as notwon:
if Debug.mahJongg:
- self.debug(fmt(notwon.message))
+ self.debug(fmt(str(notwon)))
self.__won = False
self.__score = Score()
finally: