mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue