Fix "decimal" typo in !richest
This commit is contained in:
parent
a385270cb9
commit
922ff5ac84
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Module(object):
|
|||
def richest(self, event):
|
||||
all_coins = event["server"].get_all_user_settings("coins", [])
|
||||
all_coins = list(filter(lambda coin: coin[1], all_coins))
|
||||
items = [(coin[0], decminal.Decimal(coin[1])) for coin in all_coins]
|
||||
items = [(coin[0], decimal.Decimal(coin[1])) for coin in all_coins]
|
||||
all_coins = dict(items)
|
||||
|
||||
top_10 = sorted(all_coins.keys())
|
||||
|
|
Loading…
Reference in a new issue