Skip to content
Permalink
Browse files

[processing] modified saga checking to support 2.0.8

  • Loading branch information
volaya committed Sep 1, 2013
1 parent a105987 commit 99525c3c0fa204d0bbf57e8430906d94c4d487c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/saga/SagaUtils.py
@@ -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()

0 comments on commit 99525c3

Please sign in to comment.
You can’t perform that action at this time.