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

@@ -339,7 +339,7 @@ class Daemon(Logger):
self.methods = jsonrpcserver.methods.Methods()
self.methods.add(self.ping)
self.methods.add(self.gui)
self.cmd_runner = Commands(self.config, self.network, self)
self.cmd_runner = Commands(config=self.config, network=self.network, daemon=self)
for cmdname in known_commands:
self.methods.add(getattr(self.cmd_runner, cmdname))
self.methods.add(self.run_cmdline)