exported command specs, spec.%s -> command-spec.%s

This commit is contained in:
jesopo 2020-02-14 22:10:44 +00:00
parent 275f896ed8
commit 34c7e3d9d9

View file

@ -48,7 +48,8 @@ class Module(ModuleManager.BaseModule):
if argument_type.type in types.TYPES:
func = types.TYPES[argument_type.type]
else:
func = self.exports.get_one("spec.%s" % argument_type.type)
func = self.exports.get_one(
"command-spec.%s" % argument_type.type)
if func:
try: