mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add missing typing
This commit is contained in:
parent
c0d2977f4d
commit
d5b58cf3b4
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class PostProcessingPlugin(QObject, Extension):
|
||||||
global_container_stack.propertyChanged.emit("post_processing_plugin", "value")
|
global_container_stack.propertyChanged.emit("post_processing_plugin", "value")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _isScriptAllowed(file_path) -> bool:
|
def _isScriptAllowed(file_path: str) -> bool:
|
||||||
"""Checks whether the given file is allowed to be loaded"""
|
"""Checks whether the given file is allowed to be loaded"""
|
||||||
if not ApplicationMetadata.IsEnterpriseVersion:
|
if not ApplicationMetadata.IsEnterpriseVersion:
|
||||||
# No signature needed
|
# No signature needed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue