Fix a problem when there is a comma in the BI for FTP stud games.
This commit is contained in:
parent
b963ac0a3d
commit
0291fcf489
|
@ -1085,6 +1085,7 @@ closed likewise, but known only to player
|
||||||
Add a complete on [street] by [player] to [amountTo]
|
Add a complete on [street] by [player] to [amountTo]
|
||||||
"""
|
"""
|
||||||
logging.debug("%s %s completes %s" % (street, player, amountTo))
|
logging.debug("%s %s completes %s" % (street, player, amountTo))
|
||||||
|
amountTo = re.sub(u',', u'', amountTo) #some sites have commas
|
||||||
self.checkPlayerExists(player)
|
self.checkPlayerExists(player)
|
||||||
Bp = self.lastBet['THIRD']
|
Bp = self.lastBet['THIRD']
|
||||||
Bc = reduce(operator.add, self.bets[street][player], 0)
|
Bc = reduce(operator.add, self.bets[street][player], 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user