From b713cf7659c7618528e584b44e339d8356aa347c Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 3 Feb 2020 10:37:27 +0000 Subject: [PATCH] init `usages` variable, for the case that there's no usage --- src/core_modules/help.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core_modules/help.py b/src/core_modules/help.py index 3de2231f..9a3470c1 100644 --- a/src/core_modules/help.py +++ b/src/core_modules/help.py @@ -10,6 +10,7 @@ class Module(ModuleManager.BaseModule): spec = hook.get_kwargs("spec") usages_kwarg = hook.get_kwargs("usage") + usages = [] if spec: if is_channel: context = utils.parse.SpecArgumentContext.CHANNEL