diff options
| author | 2018-12-05 11:28:44 +0000 | |
|---|---|---|
| committer | 2018-12-05 11:28:44 +0000 | |
| commit | 08a74d8b4d979f5c1fecbe16f2094250adc81a67 (patch) | |
| tree | 66cbb423a6972d14f71c2973d07e1f2904a024eb /modules/coins.py | |
| parent | Only gracefully handle SIGINT once (diff) | |
| signature | ||
Don't try to call .isdigit() on an int object in coin.py.lottery_buy
Diffstat (limited to 'modules/coins.py')
| -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 0f6c8325..b3afba1a 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -696,7 +696,7 @@ class Module(ModuleManager.BaseModule): wallet_in, _ = self._parse_wallets(event["user"], event["args_split"][0]) - amount = 1 + amount = "1" if event["args_split"]: amount = event["args_split"][0] if not amount.isdigit(): |
