mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Merge branch 'WIP_gitlab_ci'
This commit is contained in:
commit
cd89f7345a
8 changed files with 128 additions and 38 deletions
|
@ -162,7 +162,7 @@ class PostProcessingPlugin(QObject, Extension):
|
|||
loaded_script = importlib.util.module_from_spec(spec)
|
||||
if spec.loader is None:
|
||||
continue
|
||||
spec.loader.exec_module(loaded_script)
|
||||
spec.loader.exec_module(loaded_script) # type: ignore
|
||||
sys.modules[script_name] = loaded_script #TODO: This could be a security risk. Overwrite any module with a user-provided name?
|
||||
|
||||
loaded_class = getattr(loaded_script, script_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue