From d5b58cf3b48cb25a166e1307ea29d0e8a3c3799b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 25 Mar 2020 11:47:38 +0100 Subject: [PATCH] Add missing typing --- plugins/PostProcessingPlugin/PostProcessingPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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