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 14, 2015
1 parent 74f8d47 commit 48aeb8c03c457b3eb327fc1ed4c5257d658f8c74
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 48aeb8c

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