mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Update general.py
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
This commit is contained in:
parent
240bfb2a3f
commit
be25b2e392
@ -168,7 +168,7 @@ def createAlgorithmDialog(algOrName, parameters={}):
|
||||
alg = QgsApplication.processingRegistry().createAlgorithmById(algOrName)
|
||||
|
||||
if alg is None:
|
||||
return False
|
||||
return None
|
||||
|
||||
dlg = alg.createCustomParametersWidget(iface.mainWindow())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user