Skip to content

Commit 6063c83

Browse files
committed
[processing] detect GRASS 7.4 on Mac
1 parent a2ff363 commit 6063c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/algs/grass7/Grass7Utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,15 @@ def grassPath():
216216
elif isMac():
217217
# For MacOSX, we scan some well-known directories
218218
# Start with QGIS bundle
219-
for version in ['', '7', '70', '71', '72', '73']:
219+
for version in ['', '7', '70', '71', '72', '74']:
220220
testfolder = os.path.join(str(QgsApplication.prefixPath()),
221221
'grass{}'.format(version))
222222
if os.path.isdir(testfolder):
223223
folder = testfolder
224224
break
225225
# If nothing found, try standalone GRASS installation
226226
if folder is None:
227-
for version in ['0', '1', '2', '3']:
227+
for version in ['0', '1', '2', '4']:
228228
testfolder = '/Applications/GRASS-7.{}.app/Contents/MacOS'.format(version)
229229
if os.path.isdir(testfolder):
230230
folder = testfolder

0 commit comments

Comments
 (0)