mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-20 07:08:30 +00:00
Fix printing 'rm' command usage when called with no arguments
This commit is contained in:
parent
62dfd6a664
commit
35186faf78
@ -54,7 +54,7 @@ class Command(BaseCommand):
|
|||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
self.console = component.get("ConsoleUI")
|
self.console = component.get("ConsoleUI")
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
self.console.write(usage)
|
self.console.write(self.usage)
|
||||||
|
|
||||||
torrent_ids = []
|
torrent_ids = []
|
||||||
for arg in args:
|
for arg in args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user