Change another usage of coins
when it should be all_coins
(coins.py)
This commit is contained in:
parent
c39f1e002f
commit
96f6be087a
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def _all_coins(self, server):
|
def _all_coins(self, server):
|
||||||
all_coins = server.get_all_user_settings("coins", [])
|
all_coins = server.get_all_user_settings("coins", [])
|
||||||
|
|
||||||
for i, (nickname, coins) in enumerate(coins):
|
for i, (nickname, coins) in enumerate(all_coins):
|
||||||
all_coins[i] = (nickname, decimal.Decimal(coins))
|
all_coins[i] = (nickname, decimal.Decimal(coins))
|
||||||
|
|
||||||
return dict(filter(lambda coin: coin[1], all_coins))
|
return dict(filter(lambda coin: coin[1], all_coins))
|
||||||
|
|
Loading…
Reference in a new issue