Fix: hand.maxseats has to be and int.

This commit is contained in:
Ray 2009-07-12 13:14:50 -04:00
parent d8820ae1f7
commit e294314e25

View File

@ -23,6 +23,9 @@ from HandHistoryConverter import *
# PokerStars HH Format
# TODO: fix finding hero in stud games
# TODO: fix open/closed hole cards for stud games
class PokerStars(HandHistoryConverter):
# Static regexes
@ -181,7 +184,7 @@ follow : whether to tail -f the input"""
if key == 'BUTTON':
hand.buttonpos = info[key]
if key == 'MAX':
hand.maxseats = info[key]
hand.maxseats = int(info[key])
if key == 'MIXED':
hand.mixed = info[key]