From f1b15ea7b6e2f94cc4d91ebf72b91d00269be293 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 10 Feb 2020 11:09:06 +0000 Subject: `usage` doesn't exist. return None instead --- src/core_modules/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core_modules/help.py') diff --git a/src/core_modules/help.py b/src/core_modules/help.py index 9a3470c1..54ff2e71 100644 --- a/src/core_modules/help.py +++ b/src/core_modules/help.py @@ -23,7 +23,7 @@ class Module(ModuleManager.BaseModule): if usages: return " | ".join( "%s %s" % (command, usage) for usage in usages) - return usage + return None def _get_hook(self, command): hooks = self.events.on("received.command").on(command).get_hooks() -- cgit v1.3.1-10-gc9f91