Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed message to indicate unconfigured GRASS provider
It now displays the same message for GRASS 6 than for GRASS 7
  • Loading branch information
volaya committed Sep 30, 2015
1 parent ea712c6 commit 3bb677e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions python/plugins/processing/algs/grass/GrassAlgorithm.py
Expand Up @@ -489,13 +489,7 @@ def commandLineName(self):
def checkBeforeOpeningParametersDialog(self):
msg = GrassUtils.checkGrassIsInstalled()
if msg is not None:
html = self.tr(
'<p>This algorithm requires GRASS to be run. Unfortunately, '
'it seems that GRASS is not installed in your system, or it '
'is not correctly configured to be used from QGIS</p>'
'<p><a href="http://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html">Click here</a> '
'to know more about how to install and configure GRASS to be used with QGIS</p>')
return html
return msg

def checkParameterValuesBeforeExecuting(self):
name = self.commandLineName().replace('.', '_')[len('grass:'):]
Expand Down

0 comments on commit 3bb677e

Please sign in to comment.