Fixed halt command. I totally have no idea why it worked before and why it stopped working now....
This commit is contained in:
parent
d3e70b7f7f
commit
2092a0d090
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue