From 58957e78e60c7b3b2f26616f58535c4542305563 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Mon, 20 Jul 2009 22:31:24 +0100 Subject: [PATCH] fix typo that blew up when 2 side pots present --- pyfpdb/Hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index a94374ba..9b1e1e7a 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -1324,7 +1324,7 @@ class Pot(object): elif len(self.pots) == 2: return "Total pot %s%.2f Main pot %s%.2f. Side pot %s%2.f." % (self.sym, self.total, self.sym, self.pots[0], self.sym, self.pots[1]) elif len(self.pots) == 3: - return "Total pot %s%.2f Main pot $%.2f. Side pot-1 %s%2.2f. Side pot-2 %s%.2f." % (self.sym, self.total, self.sym, self.pots[0], self.sym, self.pots[1], self.sym, self.pots[2]) + return "Total pot %s%.2f Main pot %s%.2f. Side pot-1 %s%2.2f. Side pot-2 %s%.2f." % (self.sym, self.total, self.sym, self.pots[0], self.sym, self.pots[1], self.sym, self.pots[2]) elif len(self.pots) == 0: # no small blind and walk in bb (hopefully) return "Total pot %s%.2f" % (self.sym, self.total,)