[Bf-extensions-cvs] [a02d32df] master: Power Sequencer: fix wrong package name causing test error
Nathan Lovato
noreply at git.blender.org
Sat May 16 22:12:45 CEST 2020
Commit: a02d32dff4ba8347353074ad13fd64ee3ac3bb31
Author: Nathan Lovato
Date: Sat May 16 14:12:40 2020 -0600
Branches: master
https://developer.blender.org/rBAa02d32dff4ba8347353074ad13fd64ee3ac3bb31
Power Sequencer: fix wrong package name causing test error
===================================================================
M power_sequencer/tools/__init__.py
===================================================================
diff --git a/power_sequencer/tools/__init__.py b/power_sequencer/tools/__init__.py
index 4c0e75ca..463c3762 100644
--- a/power_sequencer/tools/__init__.py
+++ b/power_sequencer/tools/__init__.py
@@ -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
More information about the Bf-extensions-cvs
mailing list