Power Sequencer: fix wrong package name causing test error
This commit is contained in:
parent
93a8e7eaca
commit
a02d32dff4
|
@ -27,7 +27,7 @@ def get_tool_classes():
|
|||
module_paths = ["." + os.path.splitext(f)[0] for f in module_files]
|
||||
classes = []
|
||||
for path in module_paths:
|
||||
module = importlib.import_module(path, package="blender_power_sequencer.tools")
|
||||
module = importlib.import_module(path, package="power_sequencer.tools")
|
||||
tool_names = [entry for entry in dir(module) if entry.startswith("POWER_SEQUENCER_TOOL")]
|
||||
classes.extend([getattr(module, name) for name in tool_names])
|
||||
return classes
|
||||
|
|
Loading…
Reference in New Issue