Skip to content
Browse files
[processing] Use silent feedback by default in
Relying on the iface messagebar feedback as a fallback is not
safe for standalone scripts. If callers want to use a message
bar feedback they should specify this feedback object specifically
when calling

(cherry-picked from d5573a5)
  • Loading branch information
nyalldawson committed Apr 17, 2018
1 parent 89a84f0 commit 655633a68c595b84a23105a84a3fdfce0611b44b
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/
@@ -116,7 +116,7 @@ def runAlgorithm(algOrName, parameters, onFinish=None, feedback=None, context=No
alg = QgsApplication.processingRegistry().createAlgorithmById(algOrName)

if feedback is None:
feedback = MessageBarProgress(alg.displayName() if alg else'Processing'))
feedback = QgsProcessingFeedback()

if alg is None:
# fix_print_with_import

0 comments on commit 655633a

Please sign in to comment.