Skip to content

Commit

Permalink
Fix importlib util module import
Browse files Browse the repository at this point in the history
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 33ca320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptUtils.py
Expand Up @@ -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

Expand Down

0 comments on commit 33ca320

Please sign in to comment.