mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Avoid catch all exception
This commit is contained in:
parent
7e6f423e42
commit
0aa8241da4
@ -646,9 +646,7 @@ class ModelerDialog(BASE, WIDGET):
|
||||
dlg = None
|
||||
try:
|
||||
dlg = alg.getCustomModelerParametersDialog(self.model)
|
||||
except:
|
||||
pass
|
||||
if not dlg:
|
||||
except AttributeError:
|
||||
dlg = ModelerParametersDialog(alg, self.model)
|
||||
if dlg.exec_():
|
||||
alg = dlg.createAlgorithm()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user