mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
[#3129|Console] Fix unable to use connect command from terminal
The parsed_cmd passed to do_command was an argparse Namespace object which needed no further parsing so use exec_command instead.
This commit is contained in:
parent
2644169376
commit
07a87fa15a
@ -205,7 +205,7 @@ Please use commands from the command line, e.g.:\n
|
||||
|
||||
d = None
|
||||
if not self.interactive and options.parsed_cmds[0].command == 'connect':
|
||||
d = commander.do_command(options.parsed_cmds.pop(0))
|
||||
d = commander.exec_command(options.parsed_cmds.pop(0))
|
||||
else:
|
||||
log.info('connect: host=%s, port=%s, username=%s, password=%s',
|
||||
options.daemon_addr, options.daemon_port, options.daemon_user, options.daemon_pass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user