mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix #1115 not showing usage for the 'debug' command
This commit is contained in:
parent
ccc97f83a8
commit
221c9984d6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Command(BaseCommand):
|
||||||
elif state == 'off':
|
elif state == 'off':
|
||||||
deluge.log.setLoggerLevel("error")
|
deluge.log.setLoggerLevel("error")
|
||||||
else:
|
else:
|
||||||
component.get("ConsoleUI").write("{!error!}%s" % usage)
|
component.get("ConsoleUI").write("{!error!}%s" % self.usage)
|
||||||
|
|
||||||
return defer.succeed(True)
|
return defer.succeed(True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue