Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 48aeb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/ogrsql.py
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 48aeb8c

Please sign in to comment.