aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core_modules/command_spec/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_modules/command_spec/__init__.py b/src/core_modules/command_spec/__init__.py
index 85ef6571..d54c433b 100644
--- a/src/core_modules/command_spec/__init__.py
+++ b/src/core_modules/command_spec/__init__.py
@@ -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: