From 76b2dec2b69ab28319bd7054fbffd8088e76abb7 Mon Sep 17 00:00:00 2001 From: Chaz Date: Tue, 28 Sep 2010 17:33:15 -0400 Subject: [PATCH] * updated _addRaise() so that it does in fact accept the action variable --- pyfpdb/Hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index e06f0582..36aa5845 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -472,7 +472,7 @@ Add a raise on [street] by [player] to [amountTo] log.debug(_("%s %s raise %s") %(street, player, Rt)) self.bets[street][player].append(C + Rb) self.stacks[player] -= (C + Rb) - act = (player, 'raises', Rb, Rt, C, self.stacks[player]==0) + act = (player, action, Rb, Rt, C, self.stacks[player]==0) self.actions[street].append(act) self.lastBet[street] = Rt # TODO check this is correct self.pot.addMoney(player, C+Rb)