put the regex search back into the try: in FT readBlinds() because it broke FL games somehow

This commit is contained in:
Eric Blade 2009-09-16 00:54:29 -05:00
parent 2095f3c899
commit ded05cb290

View File

@ -289,8 +289,8 @@ class Fulltilt(HandHistoryConverter):
def readBlinds(self, hand): def readBlinds(self, hand):
m = self.re_PostBB.search(hand.handText)
try: try:
m = self.re_PostBB.search(hand.handText)
hand.addBlind(m.group('PNAME'), 'small blind', m.group('SB')) hand.addBlind(m.group('PNAME'), 'small blind', m.group('SB'))
except IndexError: # no small blind found except IndexError: # no small blind found
hand.addBlind(None, None, None) hand.addBlind(None, None, None)