Skip to content
Permalink
Browse files

[processing] Fix exception in processing.run when feedback

object is not specified

(cherry-picked from ccccad5)
  • Loading branch information
nyalldawson committed Apr 9, 2018
1 parent f7b27d6 commit a171b234517c83b7e3e7d10d4e90cffdff8f94a6
@@ -67,7 +67,7 @@ def __init__(self, dialog):
QgsProcessingFeedback.__init__(self)
self.dialog = dialog

def reportError(self, msg, fatal_error):
def reportError(self, msg, fatalError=False):
self.dialog.error(msg)


@@ -48,7 +48,7 @@ def __init__(self, algname=None):
iface.messageBar().pushWidget(self.progressMessageBar,
Qgis.Info)

def reportError(self, msg, fatal_error):
def reportError(self, msg, fatalError=False):
self.msg.append(msg)

def close(self):

0 comments on commit a171b23

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