From 2092a0d090f126446408690d5bc086eea0d1a161 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Sun, 27 May 2012 01:13:52 +0200 Subject: [PATCH] Fixed halt command. I totally have no idea why it worked before and why it stopped working now.... --- deluge/ui/console/commands/halt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/commands/halt.py b/deluge/ui/console/commands/halt.py index 1c239dec4..c79eee58d 100644 --- a/deluge/ui/console/commands/halt.py +++ b/deluge/ui/console/commands/halt.py @@ -41,7 +41,7 @@ import deluge.component as component class Command(BaseCommand): "Shutdown the deluge server" usage = "Usage: halt" - def handle(self, **options): + def handle(self, *args, **options): self.console = component.get("ConsoleUI") def on_shutdown(result):