Browse Source

dont try to read community cards in PREFLOP - this shouldn't be necessary I don't think, but it fixes the problem for now

master
Steffen Schaumburg 13 years ago
parent
commit
3160496cc1
  1. 3
      pyfpdb/Hand.py

3
pyfpdb/Hand.py

@ -892,7 +892,8 @@ class HoldemOmahaHand(Hand):
hhc.readShowdownActions(self)
# Read actions in street order
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:
if self.streets[street]:
hhc.readAction(self, street)

Loading…
Cancel
Save