Skip to content

Commit 4c1e056

Browse files
committed
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>
1 parent 1b014fe commit 4c1e056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/gdal/ogrsql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def getConsoleCommands(self):
6565
arguments.append(outFile)
6666

6767
layer = self.getParameterValue(self.INPUT)
68-
conn = self.ogrConnectionString(layer)
68+
conn = self.ogrConnectionString(layer)[1:-1]
6969
arguments.append(conn)
7070

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

0 commit comments

Comments
 (0)