Hand: Sanitise number from Stud bring-in
This commit is contained in:
parent
890ebb4e02
commit
7be88ef080
|
@ -1401,6 +1401,7 @@ Add a complete on [street] by [player] to [amountTo]
|
||||||
def addBringIn(self, player, bringin):
|
def addBringIn(self, player, bringin):
|
||||||
if player is not None:
|
if player is not None:
|
||||||
log.debug(_("Bringin: %s, %s") % (player , bringin))
|
log.debug(_("Bringin: %s, %s") % (player , bringin))
|
||||||
|
bringin = bringin.replace(u',', u'') #some sites have commas
|
||||||
bringin = Decimal(bringin)
|
bringin = Decimal(bringin)
|
||||||
self.bets['THIRD'][player].append(bringin)
|
self.bets['THIRD'][player].append(bringin)
|
||||||
self.stacks[player] -= bringin
|
self.stacks[player] -= bringin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user