Fixed halt command. I totally have no idea why it worked before and why it stopped working now....

This commit is contained in:
Asmageddon 2012-05-27 01:13:52 +02:00
parent d3e70b7f7f
commit 2092a0d090
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ import deluge.component as component
class Command(BaseCommand): class Command(BaseCommand):
"Shutdown the deluge server" "Shutdown the deluge server"
usage = "Usage: halt" usage = "Usage: halt"
def handle(self, **options): def handle(self, *args, **options):
self.console = component.get("ConsoleUI") self.console = component.get("ConsoleUI")
def on_shutdown(result): def on_shutdown(result):