dont try to read community cards in PREFLOP - this shouldn't be necessary I don't think, but it fixes the problem for now
This commit is contained in:
parent
d9b323ec58
commit
3160496cc1
|
@ -892,7 +892,8 @@ class HoldemOmahaHand(Hand):
|
||||||
hhc.readShowdownActions(self)
|
hhc.readShowdownActions(self)
|
||||||
# Read actions in street order
|
# Read actions in street order
|
||||||
for street, text in self.streets.iteritems():
|
for street, text in self.streets.iteritems():
|
||||||
if text: hhc.readCommunityCards(self, street)
|
if text and (street is not "PREFLOP"): #TODO: the except PREFLOP shouldn't be necessary, but regression-test-files/cash/Everleaf/Flop/NLHE-10max-USD-0.01-0.02-201008.2Way.All-in.pre.txt fails without it
|
||||||
|
hhc.readCommunityCards(self, street)
|
||||||
for street in self.actionStreets:
|
for street in self.actionStreets:
|
||||||
if self.streets[street]:
|
if self.streets[street]:
|
||||||
hhc.readAction(self, street)
|
hhc.readAction(self, street)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user