Merge pull request #8908 from neteler/patch-76

Complete grass76 support
This commit is contained in:
Matthias Kuhn 2019-01-20 12:28:42 +01:00 committed by GitHub
commit e3fda18aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,8 +132,8 @@ class Grass7Utils:
Find GRASS binary path on the operating system.
Sets global variable Grass7Utils.command
"""
cmdList = ["grass74", "grass72", "grass71", "grass70", "grass",
"grass74.sh", "grass72.sh", "grass71.sh", "grass70.sh", "grass.sh"]
cmdList = ["grass76", "grass74", "grass72", "grass70", "grass",
"grass76.sh", "grass74.sh", "grass72.sh", "grass70.sh", "grass.sh"]
def searchFolder(folder):
"""
@ -544,7 +544,7 @@ class Grass7Utils:
return 'https://grass.osgeo.org/grass{}/manuals/'.format(version)
else:
# GRASS not available!
return 'https://grass.osgeo.org/grass72/manuals/'
return 'https://grass.osgeo.org/grass76/manuals/'
@staticmethod
def getSupportedOutputRasterExtensions():