Skip to content

Commit 4923e46

Browse files
Gustryalexbruy
authored andcommittedJan 24, 2017
skip if the SAGA folder is not defined
(cherry picked from commit d9d5bf7)
1 parent 056ef7f commit 4923e46

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.