Skip to content

Commit

Permalink
[processing] modified saga checking to support 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Sep 2, 2013
1 parent a105987 commit 99525c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/saga/SagaUtils.py
Expand Up @@ -149,8 +149,8 @@ def checkSagaIsInstalled(ignoreRegistrySettings=False):

try:
from processing import runalg
result = runalg("saga:thiessenpolygons", points(), None)
if not os.path.exists(result['POLYGONS']):
result = runalg("saga:polygoncentroids", points(), False, None)
if result is None or not os.path.exists(result['CENTROIDS']):
return "It seems that SAGA is not correctly installed in your system.\nPlease install it before running SAGA algorithms."
except:
s = traceback.format_exc()
Expand Down

0 comments on commit 99525c3

Please sign in to comment.