Skip to content

Commit 603c276

Browse files
committed
Merge pull request #2372 from om-henners/ogrsql_fix
Fix ogrsql path quoting
2 parents 898a738 + 48aeb8c commit 603c276

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)