Merge branch 'master' of git://git.assembla.com/fpdb-eric

This commit is contained in:
Worros 2010-11-10 11:56:57 +08:00
commit 1a96892ec4
2 changed files with 4 additions and 2 deletions

View File

@ -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):

View File

@ -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):