Implement getting button position in Winamax.

This commit is contained in:
Eratosthenes 2011-01-27 15:09:50 -05:00
parent 5dc06c7ba7
commit 841226e544

View File

@ -282,9 +282,9 @@ class Winamax(HandHistoryConverter):
if key == 'LEVEL': if key == 'LEVEL':
hand.level = info[key] hand.level = info[key]
# TODO: These m = self.re_Button.search(hand.handText)
hand.buttonpos = 1 hand.buttonpos = m.groupdict().get('BUTTON', None)
# hand.maxseats = 10 # Set to None - Hand.py will guessMaxSeats()
hand.mixed = None hand.mixed = None
def readPlayerStacks(self, hand): def readPlayerStacks(self, hand):