mirror of https://github.com/stijndcl/didier
Fix missing typecast in store
parent
e847b0e4b3
commit
469d591a29
|
@ -84,7 +84,7 @@ class Store(commands.Cog):
|
||||||
item_tuple = item
|
item_tuple = item
|
||||||
break
|
break
|
||||||
|
|
||||||
if amount.lower() == "all":
|
if str(amount).lower() == "all":
|
||||||
amount = int(item_tuple[2])
|
amount = int(item_tuple[2])
|
||||||
|
|
||||||
if int(item_tuple[2]) < amount:
|
if int(item_tuple[2]) < amount:
|
||||||
|
|
Loading…
Reference in New Issue