From 0a6c2ee14723c3d6926d6ef64ac98e0343b5f028 Mon Sep 17 00:00:00 2001 From: John Garland Date: Wed, 30 May 2012 09:27:02 +1000 Subject: [PATCH] Also handle alias for quit (exit) --- 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 be84926e1..a0afe82e0 100644 --- a/deluge/ui/console/main.py +++ b/deluge/ui/console/main.py @@ -178,7 +178,7 @@ class ConsoleUI(component.Component): for command in commands: d.addCallback(do_command, command) - if "quit" not in commands: + if "quit" not in commands and "exit" not in commands: d.addCallback(do_command, "quit") # We need to wait for the rpcs in start() to finish before processing