mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-12 00:06:43 -04:00
[processing] modified saga checking to support 2.0.8
This commit is contained in:
parent
a10598733e
commit
99525c3c0f
@ -149,8 +149,8 @@ class SagaUtils:
|
||||
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user