1
0

follow-up prev (commands)

This commit is contained in:
SomberNight
2019-09-05 18:30:04 +02:00
parent 9ec9e1760a
commit 58681e4d07
6 changed files with 20 additions and 12 deletions

View File

@@ -232,7 +232,7 @@ async def run_offline_command(config, config_options, plugins):
kwargs = {}
for x in cmd.options:
kwargs[x] = (config_options.get(x) if x in ['wallet', 'password', 'new_password'] else config.get(x))
cmd_runner = Commands(config, None, None)
cmd_runner = Commands(config=config)
func = getattr(cmd_runner, cmd.name)
result = await func(*args, **kwargs)
# save wallet