mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Fix missing typecast in store
This commit is contained in:
parent
e847b0e4b3
commit
469d591a29
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Store(commands.Cog):
|
|||
item_tuple = item
|
||||
break
|
||||
|
||||
if amount.lower() == "all":
|
||||
if str(amount).lower() == "all":
|
||||
amount = int(item_tuple[2])
|
||||
|
||||
if int(item_tuple[2]) < amount:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue