If the small blind is dead and it's folded round to big blind, no one collects a pot. Warning if we do not see 'collected' line.
This commit is contained in:
parent
c9cb2ea7dd
commit
215d5a74b2
|
@ -209,10 +209,10 @@ class Everleaf(HandHistoryConverter):
|
|||
|
||||
def readCollectPot(self,hand):
|
||||
m = self.rexx.collect_pot_re.search(hand.string)
|
||||
#print m.groups()
|
||||
#print m.group('PNAME')
|
||||
#for collection in m:
|
||||
hand.addCollectPot(player=m.group('PNAME'),pot=m.group('POT'))
|
||||
if m is not None:
|
||||
hand.addCollectPot(player=m.group('PNAME'),pot=m.group('POT'))
|
||||
else:
|
||||
print "WARNING: Unusual, no one collected; can happen if it's folded to big blind with a dead small blind."
|
||||
|
||||
def getRake(self, hand):
|
||||
hand.rake = hand.totalpot * Decimal('0.05') # probably not quite right
|
||||
|
|
Loading…
Reference in New Issue
Block a user