Skip to content

Commit

Permalink
skip if the SAGA folder is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jan 3, 2017
1 parent 9fd65a2 commit d9d5bf7
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 d9d5bf7

Please sign in to comment.