Skip to content
Permalink
Browse files
[processing] fix parsing selection parameter in translate algorithm
  • Loading branch information
alexbruy committed Apr 19, 2017
1 parent 23de9a0 commit 3b5b1917301413b3e5ac03e426347e5895e4c34b
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/algs/gdal/translate.py
@@ -107,8 +107,7 @@ def getConsoleCommands(self):
outsize = str(self.getParameterValue(self.OUTSIZE))
outsizePerc = str(self.getParameterValue(self.OUTSIZE_PERC))
noData = self.getParameterValue(self.NO_DATA)
expand = str(self.getParameterFromName(
self.EXPAND).options[self.getParameterValue(self.EXPAND)])
expand = self.getParameterFromName(self.EXPAND).options[self.getParameterValue(self.EXPAND)][1]
projwin = str(self.getParameterValue(self.PROJWIN))
crsId = self.getParameterValue(self.SRS)
sds = self.getParameterValue(self.SDS)

0 comments on commit 3b5b191

Please sign in to comment.