Skip to content
Browse files

[processing] fixed autodetection of grass folder

Fix provided by Stefan Blumentrath
  • Loading branch information
volaya committed Jan 26, 2016
1 parent beaa45e commit 99b9a495b853f7e02141e145469af9cf599707a4
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/
@@ -88,10 +88,10 @@ def grassPath():
if folder is None:
if isWindows():
testfolder = os.path.dirname(unicode(QgsApplication.prefixPath()))
testfolder = os.path.join(testfolder, 'grass7')
testfolder = os.path.join(testfolder, 'grass')
if os.path.isdir(testfolder):
for subfolder in os.listdir(testfolder):
if subfolder.startswith('grass7'):
if subfolder.startswith('grass-7'):
folder = os.path.join(testfolder, subfolder)

0 comments on commit 99b9a49

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