init usages
variable, for the case that there's no usage
This commit is contained in:
parent
30aadda093
commit
b713cf7659
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue