Skip to content

Commit

Permalink
Missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Nov 30, 2021
1 parent 4c66471 commit 908ead8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/processing/ProcessingPlugin.py
Expand Up @@ -53,8 +53,11 @@
from processing.gui.MessageBarProgress import MessageBarProgress
from processing.gui.AlgorithmLocatorFilter import (AlgorithmLocatorFilter,
InPlaceAlgorithmLocatorFilter, execute_in_place)
from processing.gui.AlgorithmExecutor import execute
from processing.gui.Postprocessing import handleAlgorithmResults
from processing.modeler.ModelerDialog import ModelerDialog
from processing.tools.system import tempHelpFolder
from processing.tools import dataobjects
from processing.gui.menus import removeMenus, initializeMenus, createMenus, createButtons, removeButtons
from processing.core.ProcessingResults import resultsList

Expand Down Expand Up @@ -341,7 +344,7 @@ def executeProjectModel(self, alg_id, as_batch=False):
if canvas.mapTool() != prevMapTool:
try:
canvas.mapTool().reset()
except:
except Exception:
pass
canvas.setMapTool(prevMapTool)
else:
Expand Down

0 comments on commit 908ead8

Please sign in to comment.