diff options
author | Andrew Resch <andrewresch@gmail.com> | 2010-01-02 23:25:45 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2010-01-02 23:25:45 +0000 |
commit | 1f8919b47f09edd04004271b162a38e3194e4bc7 (patch) | |
tree | 89750c31b13b894d9e0c940563996b0b143e1751 | |
parent | 59f05a890ffc26c2fb5aed0abe9626a0e245c480 (diff) | |
download | deluge-1f8919b47f09edd04004271b162a38e3194e4bc7.tar.gz deluge-1f8919b47f09edd04004271b162a38e3194e4bc7.tar.bz2 deluge-1f8919b47f09edd04004271b162a38e3194e4bc7.zip |
Fix #1115 not showing usage for the 'debug' command
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | deluge/ui/console/commands/debug.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 diff --git a/deluge/ui/console/commands/debug.py b/deluge/ui/console/commands/debug.py index df1691681..118f9542b 100644 --- a/deluge/ui/console/commands/debug.py +++ b/deluge/ui/console/commands/debug.py @@ -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) |