Skip to content

Commit 8a16632

Browse files
authoredJan 4, 2017
Merge pull request #3943 from Gustry/saga_path
skip if the SAGA folder is not defined
2 parents 9908d9c + d9d5bf7 commit 8a16632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/saga/SagaUtils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def findSagaFolder():
7272

7373
def sagaPath():
7474
folder = ProcessingConfig.getSetting(SAGA_FOLDER)
75-
if not os.path.isdir(folder):
75+
if folder and not os.path.isdir(folder):
7676
folder = None
7777
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,
7878
'Specified SAGA folder does not exist. Will try to find built-in binaries.')

0 commit comments

Comments
 (0)
Please sign in to comment.