Update python/plugins/sextante/saga/SagaAlgorithm.py

Add quotes to input vector/raster paths parameters
This commit is contained in:
giohappy 2012-11-09 22:21:39 +01:00
parent a2d434700d
commit 17c5e37060

View File

@ -243,7 +243,7 @@ class SagaAlgorithm(GeoAlgorithm):
if value in self.exportedLayers.keys():
command+=(" -" + param.name + " \"" + self.exportedLayers[value] + "\"")
else:
command+=(" -" + param.name + " " + value)
command+=(" -" + param.name + " \"" + value + "\"")
elif isinstance(param, ParameterMultipleInput):
s = param.value
for layer in self.exportedLayers.keys():