From e294314e25594e92c91a8ac08e77e11d050b5785 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 12 Jul 2009 13:14:50 -0400 Subject: [PATCH] Fix: hand.maxseats has to be and int. --- pyfpdb/PokerStarsToFpdb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 80c16d07..a16e0cef 100755 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -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]