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':
hand.level = info[key]
# TODO: These
hand.buttonpos = 1
# hand.maxseats = 10 # Set to None - Hand.py will guessMaxSeats()
m = self.re_Button.search(hand.handText)
hand.buttonpos = m.groupdict().get('BUTTON', None)
hand.mixed = None
def readPlayerStacks(self, hand):