here's the HHC patch i forgot to add on last commit

This commit is contained in:
unknown 2009-10-31 21:25:27 -04:00
parent 868a0b5bf0
commit 64ee502239

View File

@ -451,7 +451,10 @@ or None if we fail to get the info """
self.doc = doc
def guessMaxSeats(self, hand):
"""Return a guess at max_seats when not specified in HH."""
"""Return a guess at maxseats when not specified in HH."""
# if some other code prior to this has already set it, return it
if maxseats > 1 and maxseats < 11:
return maxseats
mo = self.maxOccSeat(hand)
if mo == 10: return 10 #that was easy