Dangerous typo in modules/coins.py - 'wallet' -> 'wallets'

This commit is contained in:
jesopo 2018-10-19 11:38:23 +01:00
parent 303640844d
commit b930f3c0cf

View file

@ -90,7 +90,7 @@ class Module(ModuleManager.BaseModule):
def _remove_user_wallet(self, user, wallet): def _remove_user_wallet(self, user, wallet):
wallets = self._get_user_wallets(user) wallets = self._get_user_wallets(user)
del wallets[wallet.lower()] del wallets[wallet.lower()]
self._set_user_wallets(user, wallet) self._set_user_wallets(user, wallets)
def _all_coins(self, server): def _all_coins(self, server):
coins = server.get_all_user_settings("wallets", []) coins = server.get_all_user_settings("wallets", [])