Attempt to appease mypy

This commit is contained in:
Nino van Hooff 2020-03-25 17:32:08 +01:00
parent 92f278acc8
commit 3bb3b69082

View file

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