Add missing .items() to dict iteration in modules/coins.py

This commit is contained in:
jesopo 2018-10-21 12:14:09 +01:00
parent dd99460390
commit da5a53c9e0

View file

@ -161,7 +161,7 @@ class Module(ModuleManager.BaseModule):
return default_wallet_in, default_wallet_out
def _default_wallet_for(self, user, wallet):
default_wallets = self._get_default_wallets(user)
for key, value in default_wallets:
for key, value in default_wallets.items():
if value.lower() == wallet.lower():
return key