From 889aea48b6805ab42121048a17c264a85842b3c4 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 15 Jul 2009 22:30:41 -0400 Subject: [PATCH] Make the board in the summary of flop games print in the right order. --- pyfpdb/Hand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index f5a07644..65745c2c 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -808,8 +808,8 @@ class HoldemOmahaHand(Hand): print >>fh, "%s | Rake $%.2f" % (self.pot, self.rake) board = [] - for s in self.board.values(): - board += s + for street in ["FLOP", "TURN", "RIVER"]: + board += self.board[street] if board: # sometimes hand ends preflop without a board print >>fh, ("Board [%s]" % (" ".join(board)))