Fix #1115 not showing usage for the 'debug' command
This commit is contained in:
parent
59f05a890f
commit
1f8919b47f
@ -12,6 +12,9 @@
|
||||
==== GtkUI ====
|
||||
* Fix #1104, #735 use path.utf-8 if available
|
||||
|
||||
==== Console ====
|
||||
* Fix #1115 not showing usage for the 'debug' command
|
||||
|
||||
==== Windows ====
|
||||
* Fix displaying folders in the add torrent dialog
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ class Command(BaseCommand):
|
||||
elif state == 'off':
|
||||
deluge.log.setLoggerLevel("error")
|
||||
else:
|
||||
component.get("ConsoleUI").write("{!error!}%s" % usage)
|
||||
component.get("ConsoleUI").write("{!error!}%s" % self.usage)
|
||||
|
||||
return defer.succeed(True)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user