_default_wallets takes a user param

This commit is contained in:
jesopo 2018-10-22 13:13:13 +01:00
parent d4aef86f7e
commit 8e2a3be90d

View file

@ -167,7 +167,7 @@ class Module(ModuleManager.BaseModule):
def _parse_wallets(self, user, s): def _parse_wallets(self, user, s):
if not s: if not s:
return self._default_wallets() return self._default_wallets(user)
if not ":" in s: if not ":" in s:
return s, s return s, s
wallet_in_default, wallet_out_default = self._default_wallets(user) wallet_in_default, wallet_out_default = self._default_wallets(user)