Typo in modules/coins.py, 'wallet' -> 'user_coins'
This commit is contained in:
parent
ebdbc75a7e
commit
c3fb63e03c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
for i, (nickname, wallet) in enumerate(coins):
|
||||
user_coins = sum([decimal.Decimal(v) for v in wallet.values()])
|
||||
coins[i] = (nickname, wallet)
|
||||
coins[i] = (nickname, user_coins)
|
||||
|
||||
coins = list(filter(lambda coin: decimal.Decimal(coin[1]), coins))
|
||||
return dict([(coin[0], decimal.Decimal(coin[1])) for coin in coins])
|
||||
|
|
Loading…
Reference in a new issue