Fix #1115 not showing usage for the 'debug' command

This commit is contained in:
Andrew Resch 2010-01-02 23:25:45 +00:00
parent ccc97f83a8
commit 221c9984d6
1 changed files with 1 additions and 1 deletions

View File

@ -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)