[Bf-extensions-cvs] [2d417f1f] blender-v2.83-release: Power Sequencer: fix wrong package name causing test error

Nathan Lovato noreply at git.blender.org
Fri May 29 09:54:02 CEST 2020


Commit: 2d417f1fa03612c5de34b6c216190e8e10f1be59
Author: Nathan Lovato
Date:   Sat May 16 14:12:40 2020 -0600
Branches: blender-v2.83-release
https://developer.blender.org/rBA2d417f1fa03612c5de34b6c216190e8e10f1be59

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