Skip to content

Commit 362a0d8

Browse files
author
volayaf
committed
fixed bug detecting SAGA installed in linux
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@102 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 2105287 commit 362a0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sextante/saga/SagaAlgorithm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def checkBeforeOpeningParametersDialog(self):
289289
command = ["saga_cmd"]
290290
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT, universal_newlines=True).stdout
291291
for line in iter(proc.readline, ""):
292-
if "-------------" in line:
292+
if "________" in line:
293293
settings.setValue(SAGA_INSTALLED, True)
294294
return
295295
return "It seems that SAGA is not correctly installed in your system.\nPlease install it before running SAGA algorithms."

0 commit comments

Comments
 (0)