Skip to content
Permalink
Browse files

fix to grassWinShell

  • Loading branch information
j08lue committed Jun 8, 2016
1 parent 9be98ac commit e94c24d9f6cf3b9d148c1cbeca1246643434bfb1
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass/GrassUtils.py
@@ -113,10 +113,10 @@ def grassWinShell():
folder = ProcessingConfig.getSetting(GrassUtils.GRASS_WIN_SHELL) or ''
if not os.path.exists(folder):
folder = None
if folder is None:
if folder is None and GrassUtils.grassPath():
folder = os.path.dirname(unicode(QgsApplication.prefixPath()))
folder = os.path.join(folder, 'msys')
return folder
return folder or ''

@staticmethod
def grassDescriptionPath():

0 comments on commit e94c24d

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