Skip to content

Commit

Permalink
Fix ogrsql path quoting
Browse files Browse the repository at this point in the history
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 4c1e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/ogrsql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.