Fix "decimal" typo in !richest

This commit is contained in:
jesopo 2018-08-10 12:54:19 +01:00
parent a385270cb9
commit 922ff5ac84

View file

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