diff options
Diffstat (limited to 'plugins/PostProcessingPlugin/PostProcessingPlugin.py')
-rw-r--r-- | plugins/PostProcessingPlugin/PostProcessingPlugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/PostProcessingPlugin/PostProcessingPlugin.py b/plugins/PostProcessingPlugin/PostProcessingPlugin.py index 8968e2c547..755d815d0a 100644 --- a/plugins/PostProcessingPlugin/PostProcessingPlugin.py +++ b/plugins/PostProcessingPlugin/PostProcessingPlugin.py @@ -193,6 +193,8 @@ class PostProcessingPlugin(QObject, Extension): spec = importlib.util.spec_from_file_location(__name__ + "." + script_name, file_path) + if spec is None: + continue loaded_script = importlib.util.module_from_spec(spec) if spec.loader is None: continue |