mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Attempt to appease mypy
This commit is contained in:
parent
92f278acc8
commit
3bb3b69082
1 changed files with 2 additions and 1 deletions
|
@ -348,7 +348,8 @@ class PostProcessingPlugin(QObject, Extension):
|
||||||
# No signature needed
|
# No signature needed
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if os.path.split(file_path)[0] == os.path.join(
|
dir_path = os.path.split(file_path)[0]
|
||||||
|
if dir_path == os.path.join(
|
||||||
PluginRegistry.getInstance().getPluginPath("PostProcessingPlugin"),
|
PluginRegistry.getInstance().getPluginPath("PostProcessingPlugin"),
|
||||||
"scripts"):
|
"scripts"):
|
||||||
# Bundled scripts are trusted.
|
# Bundled scripts are trusted.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue