From c4cc6bd1aa066a91fec77c089327a5c6c8ec5140 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 4 Jul 2009 15:28:20 -0400 Subject: [PATCH] Make WriteHand for holdem report mucked cards. --- pyfpdb/Hand.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index bf2b1ab2..2a5c671d 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -772,6 +772,8 @@ dealt whether they were seen in a 'dealt to' line else: if name in self.shown: print >>fh, ("Seat %d: %s showed [%s] and lost with..." % (seatnum, name, " ".join(self.holecards['PREFLOP'][name]))) + elif name in self.mucked: + print >>fh, ("Seat %d: %s mucked [%s] " % (seatnum, name, " ".join(self.holecards['PREFLOP'][name]))) else: print >>fh, ("Seat %d: %s mucked" % (seatnum, name))