Skip to content
Permalink
Browse files

fix ab5f06b (ouch)

  • Loading branch information
jef-n authored and j08lue committed Mar 31, 2016
1 parent 62b9cc0 commit 49046294a3b3411b3f23e16d224b0b9d73d484ea
@@ -91,8 +91,8 @@ def grassPath():
folder = None
if folder is None:
if isWindows():
if "OSGEO4W_ROOT" in environ:
testfolder = os.path.join(unicode(environ['OSGEO4W_ROOT']), "apps", "grass")
if "OSGEO4W_ROOT" in os.environ:
testfolder = os.path.join(unicode(os.environ['OSGEO4W_ROOT']), "apps", "grass")
else:
testfolder = unicode(QgsApplication.prefixPath())
testfolder = os.path.join(testfolder, 'grass')
@@ -88,8 +88,8 @@ def grassPath():
folder = None
if folder is None:
if isWindows():
if "OSGEO4W_ROOT" in environ:
testfolder = os.path.join(unicode(environ['OSGEO4W_ROOT']), "apps", "grass")
if "OSGEO4W_ROOT" in os.environ:
testfolder = os.path.join(unicode(os.environ['OSGEO4W_ROOT']), "apps", "grass")
else:
testfolder = unicode(QgsApplication.prefixPath())
testfolder = os.path.join(testfolder, 'grass')

0 comments on commit 4904629

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