i hate git, i hate git, yes i do
This commit is contained in:
commit
05267db38a
5
pyfpdb/FulltiltToFpdb.py
Executable file → Normal file
5
pyfpdb/FulltiltToFpdb.py
Executable file → Normal file
|
@ -290,10 +290,11 @@ class Fulltilt(HandHistoryConverter):
|
|||
|
||||
def readBlinds(self, hand):
|
||||
try:
|
||||
m = self.re_PostSB.search(hand.handText)
|
||||
m = self.re_PostBB.search(hand.handText)
|
||||
hand.addBlind(m.group('PNAME'), 'small blind', m.group('SB'))
|
||||
except: # no small blind
|
||||
except IndexError: # no small blind found
|
||||
hand.addBlind(None, None, None)
|
||||
|
||||
for a in self.re_PostBB.finditer(hand.handText):
|
||||
hand.addBlind(a.group('PNAME'), 'big blind', a.group('BB'))
|
||||
for a in self.re_PostBoth.finditer(hand.handText):
|
||||
|
|
Loading…
Reference in New Issue
Block a user