Skip to content
Permalink
Browse files

[processing] Fix error on win when grass path isn't set correctly

  • Loading branch information
nyalldawson committed Jan 24, 2018
1 parent 2013725 commit 4e6aa3c3598ebcc7925468a2baf56d7626da3ff9
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -457,7 +457,7 @@ def checkGrassIsInstalled(ignorePreviousState=False):
'The specified GRASS 7 folder "{}" does not contain '
'a valid set of GRASS 7 modules.\nPlease, go to the '
'Processing settings dialog, and check that the '
'GRASS 7\nfolder is correctly configured'.format(os.path.join(path, 'bin')))
'GRASS 7\nfolder is correctly configured'.format(os.path.join(Grass7Utils.path, 'bin')))
Grass7Utils.isGrassInstalled = True
return
# Return error messages

0 comments on commit 4e6aa3c

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