Make the board in the summary of flop games print in the right order.
This commit is contained in:
parent
e0dc556a67
commit
889aea48b6
|
@ -808,8 +808,8 @@ class HoldemOmahaHand(Hand):
|
||||||
print >>fh, "%s | Rake $%.2f" % (self.pot, self.rake)
|
print >>fh, "%s | Rake $%.2f" % (self.pot, self.rake)
|
||||||
|
|
||||||
board = []
|
board = []
|
||||||
for s in self.board.values():
|
for street in ["FLOP", "TURN", "RIVER"]:
|
||||||
board += s
|
board += self.board[street]
|
||||||
if board: # sometimes hand ends preflop without a board
|
if board: # sometimes hand ends preflop without a board
|
||||||
print >>fh, ("Board [%s]" % (" ".join(board)))
|
print >>fh, ("Board [%s]" % (" ".join(board)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user