Power Sequencer: fix wrong package name causing test error

This commit is contained in:
Nathan Lovato 2020-05-16 14:12:40 -06:00
parent 93a8e7eaca
commit a02d32dff4
1 changed files with 1 additions and 1 deletions

View File

@ -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