Skip to content

Commit

Permalink
[processing] always look for SAGA LTR first (fix #16648)
Browse files Browse the repository at this point in the history
(cherry picked from commit 74984b2)
  • Loading branch information
alexbruy committed Jun 2, 2017
1 parent 5773b3f commit 9297d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/algs/saga/SagaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def findSagaFolder():
folder = testfolder
elif isWindows():
folders = []
folders.append(os.path.join(os.path.dirname(QgsApplication.prefixPath()), 'saga-ltr'))
folders.append(os.path.join(os.path.dirname(QgsApplication.prefixPath()), 'saga'))
if "OSGEO4W_ROOT" in os.environ:
folders.append(os.path.join(str(os.environ['OSGEO4W_ROOT']), "apps", "saga-ltr"))
Expand Down

0 comments on commit 9297d91

Please sign in to comment.