Skip to content
Permalink
Browse files

avoid escape formula because it's not a path!

  • Loading branch information
luipir committed May 9, 2018
1 parent 5b20168 commit 6150b7f4e4847301effc6f944eec745be5f73234
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 6150b7f

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