Skip to content

Commit

Permalink
skip if the SAGA folder is not defined
Browse files Browse the repository at this point in the history
(cherry picked from commit d9d5bf7)
  • Loading branch information
Gustry authored and alexbruy committed Jan 24, 2017
1 parent 056ef7f commit 4923e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/saga/SagaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def findSagaFolder():

def sagaPath():
folder = ProcessingConfig.getSetting(SAGA_FOLDER)
if not os.path.isdir(folder):
if folder and not os.path.isdir(folder):
folder = None
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,
'Specified SAGA folder does not exist. Will try to find built-in binaries.')
Expand Down

0 comments on commit 4923e46

Please sign in to comment.