We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 1aa7ca3 commit 1bc3b28Copy full SHA for 1bc3b28
python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -59,6 +59,8 @@ class Grass7Utils(object):
59
60
version = None
61
62
+ command = None
63
+
64
@staticmethod
65
def grassBatchJobFilename():
66
'''This is used in Linux. This is the batch job that we assign to
@@ -445,4 +447,10 @@ def grassHelpPath():
445
447
helpPath = os.path.abspath(path)
446
448
break
449
- return helpPath if helpPath is not None else 'http://grass.osgeo.org/{}/manuals/'.format(Grass7Utils.command)
450
+ if helpPath is not None:
451
+ return helpPath
452
+ elif Grass7Utils.command:
453
+ return 'http://grass.osgeo.org/{}/manuals/'.format(Grass7Utils.command)
454
+ else:
455
+ # grass not available!
456
+ return 'http://grass.osgeo.org/72/manuals/'
0 commit comments