summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2010-01-02 23:25:45 +0000
committerAndrew Resch <andrewresch@gmail.com>2010-01-02 23:25:45 +0000
commit1f8919b47f09edd04004271b162a38e3194e4bc7 (patch)
tree89750c31b13b894d9e0c940563996b0b143e1751
parent59f05a890ffc26c2fb5aed0abe9626a0e245c480 (diff)
downloaddeluge-1f8919b47f09edd04004271b162a38e3194e4bc7.tar.gz
deluge-1f8919b47f09edd04004271b162a38e3194e4bc7.tar.bz2
deluge-1f8919b47f09edd04004271b162a38e3194e4bc7.zip
Fix #1115 not showing usage for the 'debug' command
-rw-r--r--ChangeLog3
-rw-r--r--deluge/ui/console/commands/debug.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f65786ce..f75787417 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)