Skip to content
Permalink
Browse files

Fix importlib util module import

to avoid "module 'importlib' has no attribute 'util'" error that prevent the load of user scripts in some circumstances

(cherry picked from commit 40569f4)
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Nov 20, 2020
1 parent cf0a216 commit 33ca320a1b16a35c41cd315f7a64f9ee2ada7669
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/script/ScriptUtils.py
@@ -24,7 +24,7 @@
from qgis.processing import alg as algfactory
import os
import inspect
import importlib
import importlib.util

from qgis.PyQt.QtCore import QCoreApplication

0 comments on commit 33ca320

Please sign in to comment.
You can’t perform that action at this time.