_default_wallet_for is for find the default type of a given wallet, not the

wallet for a given default type
This commit is contained in:
jesopo 2018-10-21 12:16:05 +01:00
parent da5a53c9e0
commit d4aef86f7e

View file

@ -285,7 +285,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write("%s: Set default wallet for '%s' to '%s'" %
(event["user"].nickname, type, wallet))
else:
wallet = self._default_wallet_for(event["user"], type)
wallet = self._default_wallet(event["user"], type)
event["stdout"].write("%s: Your default wallet for '%s' is '%s'" %
(event["user"].nickname, type, wallet))