_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:
parent
da5a53c9e0
commit
d4aef86f7e
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
event["stdout"].write("%s: Set default wallet for '%s' to '%s'" %
|
event["stdout"].write("%s: Set default wallet for '%s' to '%s'" %
|
||||||
(event["user"].nickname, type, wallet))
|
(event["user"].nickname, type, wallet))
|
||||||
else:
|
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["stdout"].write("%s: Your default wallet for '%s' is '%s'" %
|
||||||
(event["user"].nickname, type, wallet))
|
(event["user"].nickname, type, wallet))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue