aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-03 10:37:27 +0000
committerGravatar jesopo2020-02-03 10:37:27 +0000
commitb713cf7659c7618528e584b44e339d8356aa347c (patch)
tree36dabcf56392f16b6e08fca9be2827593ccd7b15 /src/core_modules
parentratify labeled-response (diff)
signature
init `usages` variable, for the case that there's no usage
Diffstat (limited to 'src/core_modules')
-rw-r--r--src/core_modules/help.py1
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