Skip to content
Permalink
Browse files
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
  • Loading branch information
volayaf committed Apr 16, 2012
1 parent 2105287 commit 362a0d86c1d230affe6e6c14f3ad77e609a9e992
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sextante/saga/SagaAlgorithm.py
@@ -289,7 +289,7 @@ def checkBeforeOpeningParametersDialog(self):
command = ["saga_cmd"]
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT, universal_newlines=True).stdout
for line in iter(proc.readline, ""):
if "-------------" in line:
if "________" in line:
settings.setValue(SAGA_INSTALLED, True)
return
return "It seems that SAGA is not correctly installed in your system.\nPlease install it before running SAGA algorithms."

0 comments on commit 362a0d8

Please sign in to comment.