Ticket #1115: fix_console_debug_command_error.patch

File fix_console_debug_command_error.patch, 516 bytes (added by cdep_illabout, 15 years ago)

patch to fix command

  • deluge/ui/console/commands/debug.py

     
    5151        elif state == 'off':
    5252            deluge.log.setLoggerLevel("error")
    5353        else:
    54             component.get("ConsoleUI").write("{!error!}%s" % usage)
     54            component.get("ConsoleUI").write("{!error!}%s" % self.usage)
    5555
    5656        return defer.succeed(True)
    5757