From 310968350810246cabf9692493898ef28f487e2d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 7 Dec 2010 12:49:29 -0500 Subject: [PATCH] Fix folding logic in table.Player.decide(). --- table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.py b/table.py index b0d9556..c47bb42 100644 --- a/table.py +++ b/table.py @@ -168,7 +168,7 @@ class Player (object): bet = bet.upper() if bet == 'A': bet = self.cash elif bet == 'C': bet = self.owe - else : self.status = 'fold' + else : bet = 0 else: try : bet = int(bet) except: self.status = 'fold' -- 2.26.2