mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-30 13:16:17 +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):
|
||||
self.console = component.get("ConsoleUI")
|
||||
if len(args) == 0:
|
||||
self.console.write(usage)
|
||||
self.console.write(self.usage)
|
||||
|
||||
torrent_ids = []
|
||||
for arg in args:
|
||||
|
Loading…
x
Reference in New Issue
Block a user