Skip to content
Browse files

[processing] Fix potential crash when calling with

custom context, but no feedback object

(cherry-picked from 977e14b)
  • Loading branch information
nyalldawson committed Jun 28, 2018
1 parent 15ab4c1 commit 543df81b253b513ffba1afefe44f1736d6ad374a
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/core/
@@ -135,6 +135,9 @@ def runAlgorithm(algOrName, parameters, onFinish=None, feedback=None, context=No
if context is None:
context = dataobjects.createContext(feedback)

if is None:

ok, msg = alg.checkParameterValues(parameters, context)
if not ok:
msg ='Unable to execute algorithm\n{0}').format(msg)

0 comments on commit 543df81

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