Ticket #53231: SagaUtils.py.diff
File SagaUtils.py.diff, 636 bytes (added by edhackett, 8 years ago) |
---|
-
SagaUtils.py
old new 72 72 73 73 def sagaPath(): 74 74 folder = ProcessingConfig.getSetting(SAGA_FOLDER) 75 if not os.path.isdir(folder):76 folder = None77 ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,78 'Specified SAGA folder does not exist. Will try to find built-in binaries.')79 75 if folder is None or folder == '': 80 76 folder = findSagaFolder() 81 77 if folder is not None: 78 ProcessingConfig.setSettingValue(SAGA_FOLDER, folder) 82 79 return folder or '' 83 80 84 81