Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed #7116
  • Loading branch information
volaya committed Feb 7, 2013
1 parent 995fbad commit a611905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/sextante/grass/GrassAlgorithm.py
Expand Up @@ -16,7 +16,6 @@
* *
***************************************************************************
"""

__author__ = 'Victor Olaya'
__date__ = 'August 2012'
__copyright__ = '(C) 2012, Victor Olaya'
Expand Down Expand Up @@ -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):

Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit a611905

Please sign in to comment.