Skip to content

Commit

Permalink
[processing] save value of grass path when autoconfiguration is succe…
Browse files Browse the repository at this point in the history
…sful
  • Loading branch information
volaya committed May 23, 2016
1 parent e925382 commit b4b05ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/algs/grass/GrassUtils.py
Expand Up @@ -106,6 +106,8 @@ def grassPath():
if not os.path.isdir(folder):
folder = '/Applications/GRASS-6.4.app/Contents/MacOS'

if folder:
ProcessingConfig.setSettingValue(GrassUtils.GRASS_FOLDER, folder)
return folder or ''

@staticmethod
Expand Down

0 comments on commit b4b05ba

Please sign in to comment.