From 0291fcf4898af0e8f57f2b077d606a41d31bf117 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 22 Jul 2009 14:43:13 -0400 Subject: [PATCH] Fix a problem when there is a comma in the BI for FTP stud games. --- pyfpdb/Hand.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 254c802f..b886f57f 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -1085,6 +1085,7 @@ closed likewise, but known only to player Add a complete on [street] by [player] to [amountTo] """ logging.debug("%s %s completes %s" % (street, player, amountTo)) + amountTo = re.sub(u',', u'', amountTo) #some sites have commas self.checkPlayerExists(player) Bp = self.lastBet['THIRD'] Bc = reduce(operator.add, self.bets[street][player], 0)