Skip to content
Permalink
Browse files

Fix ogrsql path quoting

Fix the ogrsql path quoting which left the extra quotes around the input layer path

Signed-off-by: Henry Walshaw <henry.walshaw@gmail.com>
  • Loading branch information
om-henners committed Oct 8, 2015
1 parent 1b014fe commit 4c1e0569711de5188a266924cee417cb6755ae40
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/ogrsql.py
@@ -65,7 +65,7 @@ def getConsoleCommands(self):
arguments.append(outFile)

layer = self.getParameterValue(self.INPUT)
conn = self.ogrConnectionString(layer)
conn = self.ogrConnectionString(layer)[1:-1]
arguments.append(conn)

return ['ogr2ogr', GdalUtils.escapeAndJoin(arguments)]

0 comments on commit 4c1e056

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