Don't try to call .isdigit() on an int object in coin.py.lottery_buy
This commit is contained in:
parent
351a88bda6
commit
08a74d8b4d
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue