Add missing typing

This commit is contained in:
Jaime van Kessel 2020-03-25 11:47:38 +01:00
parent c0d2977f4d
commit d5b58cf3b4
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -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