diff --git a/pyfpdb/AbsoluteToFpdb.py b/pyfpdb/AbsoluteToFpdb.py index fa66f9dc..810a4a34 100755 --- a/pyfpdb/AbsoluteToFpdb.py +++ b/pyfpdb/AbsoluteToFpdb.py @@ -224,7 +224,7 @@ class Absolute(HandHistoryConverter): hand.maxseats = 6 if self.HORSEHand: - hand.maxseats = 9 + hand.maxseats = 8 # todo : unless it's heads up!!? return def readPlayerStacks(self, hand): diff --git a/pyfpdb/EverleafToFpdb.py b/pyfpdb/EverleafToFpdb.py index 3f87a21c..586d36d9 100755 --- a/pyfpdb/EverleafToFpdb.py +++ b/pyfpdb/EverleafToFpdb.py @@ -145,7 +145,7 @@ or None if we fail to get the info """ logging.debug("HID %s, Table %s" % (m.group('HID'), m.group('TABLE'))) hand.handid = m.group('HID') hand.tablename = m.group('TABLE') - hand.maxseats = 6 # assume 6-max unless we have proof it's a larger/smaller game, since everleaf doesn't give seat max info + hand.maxseats = 4 # assume 4-max unless we have proof it's a larger/smaller game, since everleaf doesn't give seat max info currencies = { u'€':'EUR', '$':'USD', '':'T$', None:'T$' } mg = m.groupdict() @@ -179,6 +179,8 @@ or None if we fail to get the info """ elif seatnum > 6: hand.maxseats = 8 # everleaf currently does 2/6/10 games, so if seats > 6 are in use, it must be 10-max. # TODO: implement lookup list by table-name to determine maxes, then fall back to 6 default/10 here, if there's no entry in the list? + elif seatnum > 4: + hand.maxseats = 6 # they added 4-seat games too! def markStreets(self, hand):