From 3bb3b69082f85848fea6697577f60e38a77d7802 Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Wed, 25 Mar 2020 17:32:08 +0100 Subject: [PATCH] Attempt to appease mypy --- plugins/PostProcessingPlugin/PostProcessingPlugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/PostProcessingPlugin/PostProcessingPlugin.py b/plugins/PostProcessingPlugin/PostProcessingPlugin.py index f206909f20..3f3ac9f6af 100644 --- a/plugins/PostProcessingPlugin/PostProcessingPlugin.py +++ b/plugins/PostProcessingPlugin/PostProcessingPlugin.py @@ -348,7 +348,8 @@ class PostProcessingPlugin(QObject, Extension): # No signature needed 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"), "scripts"): # Bundled scripts are trusted.