Skip to content

Commit

Permalink
Merge pull request #3943 from Gustry/saga_path
Browse files Browse the repository at this point in the history
skip if the SAGA folder is not defined
  • Loading branch information
volaya committed Jan 4, 2017
2 parents 9908d9c + d9d5bf7 commit 8a16632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/saga/SagaUtils.py
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 8a16632

Please sign in to comment.