Skip to content
Permalink
Browse files
fixed #7116
  • Loading branch information
volaya committed Feb 7, 2013
1 parent 995fbad commit a61190575573eb3562dd40debed643ae11743032
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/sextante/grass/GrassAlgorithm.py
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""

__author__ = 'Victor Olaya'
__date__ = 'August 2012'
__copyright__ = '(C) 2012, Victor Olaya'
@@ -53,6 +52,7 @@
from sextante.outputs.OutputFile import OutputFile
from sextante.parameters.ParameterExtent import ParameterExtent
from sextante.parameters.ParameterNumber import ParameterNumber
from sextante.parameters.ParameterString import ParameterString

class GrassAlgorithm(GeoAlgorithm):

@@ -286,8 +286,8 @@ def processAlgorithm(self, progress):
elif isinstance(param, ParameterSelection):
idx = int(param.value)
command+=(" " + param.name + "=" + str(param.options[idx]));
elif isinstance(param, ParameterSelection):
command+=(" " + param.name + "=" + str(param.value));
elif isinstance(param, ParameterString):
command+=(" " + param.name + "=\"" + str(param.value) + "\"");
else:
command+=(" " + param.name + "=" + str(param.value));

0 comments on commit a611905

Please sign in to comment.