From d9656b25f604bb3da1f9a7e449ac70f2fc53a632 Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 20 Feb 2009 01:37:48 +0900 Subject: [PATCH] Oversight in Hand.py (?) Bp missing in this function, and doesn't run if called. No idea if the function has ever been called. --- pyfpdb/Hand.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 24ccbe3f..4726eaa9 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -265,6 +265,7 @@ For sites which by "raises x" mean "calls and raises putting a total of x in the Add a raise on [street] by [player] to [amountTo] """ self.checkPlayerExists(player) + Bp = self.lastBet[street] Bc = reduce(operator.add, self.bets[street][player], 0) Rt = Decimal(amountTo) C = Bp - Bc