diff options
| author | 2020-02-03 10:37:27 +0000 | |
|---|---|---|
| committer | 2020-02-03 10:37:27 +0000 | |
| commit | b713cf7659c7618528e584b44e339d8356aa347c (patch) | |
| tree | 36dabcf56392f16b6e08fca9be2827593ccd7b15 /src/core_modules/help.py | |
| parent | ratify labeled-response (diff) | |
| signature | ||
init `usages` variable, for the case that there's no usage
Diffstat (limited to 'src/core_modules/help.py')
| -rw-r--r-- | src/core_modules/help.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
