From 19d9c71b13c761107e05a6d8d540813e360fc413 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 3 Nov 2009 22:08:18 +0000 Subject: [PATCH] Allow the 'help' command to be called when not connected to a daemon --- deluge/ui/console/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py index e4b72f243..6ab26498c 100644 --- a/deluge/ui/console/main.py +++ b/deluge/ui/console/main.py @@ -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