Skip to content
Permalink
Browse files

[processing] don't throw error if GRASS not found on Mac (fix #17443)

  • Loading branch information
alexbruy committed Nov 23, 2017
1 parent 6063c83 commit 03e4756d268a6a913f3372f420643476ebb1da37
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -503,9 +503,10 @@ def grassHelpPath():

if helpPath is None:
if isWindows() or isMac():
localPath = os.path.join(Grass7Utils.path, 'docs/html')
if os.path.exists(localPath):
helpPath = os.path.abspath(localPath)
if Grass7Utils.path is not None:
localPath = os.path.join(Grass7Utils.path, 'docs/html')
if os.path.exists(localPath):
helpPath = os.path.abspath(localPath)
else:
searchPaths = ['/usr/share/doc/grass-doc/html',
'/opt/grass/docs/html',

0 comments on commit 03e4756

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