Skip to content

Commit

Permalink
[processing] Fix exception in processing.run when feedback
Browse files Browse the repository at this point in the history
object is not specified

(cherry-picked from ccccad5)
  • Loading branch information
nyalldawson committed Apr 9, 2018
1 parent f7b27d6 commit a171b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/MessageBarProgress.py
Expand Up @@ -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):
Expand Down

0 comments on commit a171b23

Please sign in to comment.