Skip to content
Permalink
Browse files

Merge pull request #6960 from luipir/gdalcalc_avoid_escape_formula

[processing][gdal] Do not escape formula because it's not a path!
  • Loading branch information
alexbruy committed May 10, 2018
2 parents 5b20168 + 6150b7f commit 10aa92f6ddcf7014eeb9be8bf55debf0c2ed021a
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/algs/gdal/gdalcalc.py
@@ -106,8 +106,7 @@ def getConsoleCommands(self):
noData = unicode(noData)

arguments = []
arguments.append('--calc')
arguments.append('"' + formula + '"')
arguments.append('--calc "{}"'.format(formula))
arguments.append('--format')
arguments.append(GdalUtils.getFormatShortNameFromFilename(out))
arguments.append('--type')

0 comments on commit 10aa92f

Please sign in to comment.
You can’t perform that action at this time.