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)