Merge branch 'master' of git://git.assembla.com/free_poker_tools

This commit is contained in:
Worros 2010-03-05 12:03:40 +08:00
commit 950b037b39
2 changed files with 7 additions and 13 deletions

View File

@ -106,12 +106,6 @@ class PartyPoker(HandHistoryConverter):
def guessMaxSeats(self, hand): def guessMaxSeats(self, hand):
"""Return a guess at max_seats when not specified in HH.""" """Return a guess at max_seats when not specified in HH."""
try:
m = re_seats.search(hand.handText)
mo = m.groupdict()
mo = _mo['SEATS']
return mo
except:
mo = self.maxOccSeat(hand) mo = self.maxOccSeat(hand)
if mo == 10: return mo if mo == 10: return mo
if mo == 2: return 2 if mo == 2: return 2

View File

@ -181,7 +181,7 @@ class PokerStars(HandHistoryConverter):
else: else:
info['type'] = 'tour' info['type'] = 'tour'
if info['limitType'] == 'fl' and info['bb'] != None and info['type'] == 'ring': if info['limitType'] == 'fl' and info['bb'] is not None and info['type'] == 'ring' and info['base'] != 'stud':
info['sb'] = Lim_Blinds[mg['BB']][0] info['sb'] = Lim_Blinds[mg['BB']][0]
info['bb'] = Lim_Blinds[mg['BB']][1] info['bb'] = Lim_Blinds[mg['BB']][1]