Skip to content

Commit

Permalink
Fix multiple ParameterField handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric RIBREUX committed Dec 27, 2017
1 parent 36311ff commit feaecea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -540,8 +540,8 @@ def processCommand(self, parameters, context, delOutputs=False):
)
# For fields, we just translate as string
elif isinstance(param, QgsProcessingParameterField):
value = '{}'.format(
self.parameterAsString(parameters, paramName, context)
value = ','.join(
self.parameterAsFields(parameters, paramName, context)
)
# For numbers and points, we translate as a string
elif isinstance(param, (QgsProcessingParameterNumber,
Expand Down

0 comments on commit feaecea

Please sign in to comment.