Skip to content

Commit bf67531

Browse files
author
volayaf
committed
fixed #5708
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@210 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 228288c commit bf67531

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#Tue Mar 27 17:10:35 CEST 2012
1+
#Thu May 31 18:14:09 CEST 2012
22
eclipse.preferences.version=1
3+
encoding//src/sextante/ftools/ftools_utils.py=utf-8
34
encoding//src/sextante/gui/ui_ParametersDialog.py=utf-8
45
encoding//src/sextante/gui/ui_SextanteToolbox.py=utf-8
56
encoding//src/sextante/resources.py=utf-8

src/sextante/grass/GrassAlgorithm.py

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from sextante.parameters.ParameterSelection import ParameterSelection
2323
from sextante.core.LayerExporter import LayerExporter
2424
from sextante.core.WrongHelpFileException import WrongHelpFileException
25+
from sextante.outputs.OutputFile import OutputFile
2526

2627
class GrassAlgorithm(GeoAlgorithm):
2728

@@ -221,6 +222,12 @@ def processAlgorithm(self, progress):
221222
command+=(" " + param.name + "=" + str(param.value));
222223

223224
for out in self.outputs:
225+
if isinstance(out, OutputFile):
226+
command+=(" " + out.name + "=\"" + out.value + "\"");
227+
else:
228+
command+=(" " + out.name + "=" + out.name);
229+
230+
224231
command+=(" " + out.name + "=" + out.name);
225232

226233
command += " --overwrite"

0 commit comments

Comments
 (0)