diff options
| author | 2018-10-17 08:40:23 +0100 | |
|---|---|---|
| committer | 2018-10-17 08:40:23 +0100 | |
| commit | c22d5a348fc6e30c25d42d1d395c07974f39f88a (patch) | |
| tree | 8a20d1711dcdb81dbc98fe256279979067b46bd2 /modules | |
| parent | Typo on modules/set.py; 'events.call' -> 'events.on' (diff) | |
| signature | ||
We should be changing `bet_amounts` instead of parsing a bet amount and doing
nothing with it :l
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/coins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py index 2c44c628..5be2ac64 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -341,7 +341,7 @@ class Module(ModuleManager.BaseModule): for i, bet_amount in enumerate(bet_amounts): try: - bet_amount = self._parse_coins(bet_amount, DECIMAL_ZERO) + bet_amounts[i] = self._parse_coins(bet_amount, DECIMAL_ZERO) except CoinParseException as e: raise utils.EventError("%s: %s" % (event["user"].nickname, str(e))) |
