From c22d5a348fc6e30c25d42d1d395c07974f39f88a Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 17 Oct 2018 08:40:23 +0100 Subject: We should be changing `bet_amounts` instead of parsing a bet amount and doing nothing with it :l --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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))) -- cgit v1.3.1-10-gc9f91