File tree 1 file changed +3
-3
lines changed
python/plugins/sextante/grass
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
* *
17
17
***************************************************************************
18
18
"""
19
-
20
19
__author__ = 'Victor Olaya'
21
20
__date__ = 'August 2012'
22
21
__copyright__ = '(C) 2012, Victor Olaya'
53
52
from sextante .outputs .OutputFile import OutputFile
54
53
from sextante .parameters .ParameterExtent import ParameterExtent
55
54
from sextante .parameters .ParameterNumber import ParameterNumber
55
+ from sextante .parameters .ParameterString import ParameterString
56
56
57
57
class GrassAlgorithm (GeoAlgorithm ):
58
58
@@ -286,8 +286,8 @@ def processAlgorithm(self, progress):
286
286
elif isinstance (param , ParameterSelection ):
287
287
idx = int (param .value )
288
288
command += (" " + param .name + "=" + str (param .options [idx ]));
289
- elif isinstance (param , ParameterSelection ):
290
- command += (" " + param .name + "=" + str (param .value ));
289
+ elif isinstance (param , ParameterString ):
290
+ command += (" " + param .name + "=\" " + str (param .value ) + " \" " );
291
291
else :
292
292
command += (" " + param .name + "=" + str (param .value ));
293
293
You can’t perform that action at this time.
0 commit comments