mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Allow the 'help' command to be called when not connected to a daemon
This commit is contained in:
parent
46906f5447
commit
19d9c71b13
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ class ConsoleUI(component.Component):
|
|||
parser._print_help(f)
|
||||
parser.print_help = print_help
|
||||
|
||||
if not client.connected() and cmd not in ("connect", "quit"):
|
||||
if not client.connected() and cmd not in ("help", "connect", "quit"):
|
||||
self.write("{!error!}Not connected to a daemon, please use the connect command first.")
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue