Typo in modules/coins.py, "coin_settings" -> "coins"
This commit is contained in:
parent
1300310669
commit
7f8acf58c7
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def _all_coins(self, server):
|
def _all_coins(self, server):
|
||||||
coins = server.get_all_user_settings("wallets", [])
|
coins = server.get_all_user_settings("wallets", [])
|
||||||
|
|
||||||
for i, (nickname, wallet) in enumerate(coin_settings):
|
for i, (nickname, wallet) in enumerate(coins):
|
||||||
coins[i] = sum([decimal.Decimal(v) for v in wallet.values()])
|
coins[i] = sum([decimal.Decimal(v) for v in wallet.values()])
|
||||||
|
|
||||||
coins = list(filter(lambda coin: decimal.Decimal(coin[1]), coins))
|
coins = list(filter(lambda coin: decimal.Decimal(coin[1]), coins))
|
||||||
|
|
Loading…
Reference in a new issue