Fixing dynamicgen for new naming methodology for tool module
@@ -252,8 +252,8 @@ class ToolGen(DynamicGen):
'''
modules = []
for toolname in os.listdir(module_dir):
- spec = importlib.util.spec_from_file_location(f'{toolname}_setup',
- f'{module_dir}/{toolname}/{toolname}_setup.py')
+ spec = importlib.util.spec_from_file_location(f'{toolname}',
+ f'{module_dir}/{toolname}/{toolname}.py')
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
