summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-24 13:46:56 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:47:07 (GMT)
commit00400d9efe6493d8ce8f507909304aa19cb1692b (patch)
treeef3bc50e24c1fb1f66bf56dfe212c7b8e148da83
parent614e26ac52f95b3e1350e43c85dd84da71ecb8ba (diff)
Hand.__sub__: never emit the "m" string part
-rw-r--r--src/hand.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hand.py b/src/hand.py
index b5033cf..f864272 100644
--- a/src/hand.py
+++ b/src/hand.py
@@ -462,8 +462,7 @@ class Hand(object):
newParts = []
for idx, part in enumerate(self.mjStr.split()):
if part[0] == 'm':
- if len(part) > 1 and part[1] == 'k':
- continue
+ continue
elif part[0] == 'L':
if (self.lastTile.isExposed
and self.lastTile.concealed in tilesInHand):