diff --git a/plugins/PostProcessingPlugin/PostProcessingPlugin.py b/plugins/PostProcessingPlugin/PostProcessingPlugin.py index 8cfe730d95..de9b1905b7 100644 --- a/plugins/PostProcessingPlugin/PostProcessingPlugin.py +++ b/plugins/PostProcessingPlugin/PostProcessingPlugin.py @@ -342,7 +342,7 @@ class PostProcessingPlugin(QObject, Extension): global_container_stack.propertyChanged.emit("post_processing_plugin", "value") @staticmethod - def _isScriptAllowed(file_path) -> bool: + def _isScriptAllowed(file_path: str) -> bool: """Checks whether the given file is allowed to be loaded""" if not ApplicationMetadata.IsEnterpriseVersion: # No signature needed