mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:16:06 +08:00
Add missing typing
This commit is contained in:
parent
c0d2977f4d
commit
d5b58cf3b4
@ -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…
x
Reference in New Issue
Block a user