diff options
| author | 2018-10-18 13:40:36 +0100 | |
|---|---|---|
| committer | 2018-10-18 13:40:36 +0100 | |
| commit | 7f8acf58c765fa02a2ee634c893fff6682989930 (patch) | |
| tree | 31c8f4ab2a55bd273caa2d6ae2bbb7b89452e1f3 | |
| parent | Use "wallets" for !richest, not "coins" (diff) | |
| signature | ||
Typo in modules/coins.py, "coin_settings" -> "coins"
| -rw-r--r-- | modules/coins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py index db754ab1..f3073c5d 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -84,7 +84,7 @@ class Module(ModuleManager.BaseModule): def _all_coins(self, server): 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 = list(filter(lambda coin: decimal.Decimal(coin[1]), coins)) |
