Don't try to call .isdigit() on an int object in coin.py.lottery_buy

This commit is contained in:
jesopo 2018-12-05 11:28:44 +00:00
parent 351a88bda6
commit 08a74d8b4d

View file

@ -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():