From 08a74d8b4d979f5c1fecbe16f2094250adc81a67 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 5 Dec 2018 11:28:44 +0000 Subject: [PATCH] Don't try to call .isdigit() on an int object in coin.py.lottery_buy --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():