Skip to content
Permalink
Browse files

[processing] quote return string when returning uri in ogrConnectionS…

…tring

Fixes #13174
  • Loading branch information
volaya committed Sep 21, 2015
1 parent 8ed71fb commit 72af56d8a2f7088b9501efc60fd76df89e5acbb5
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/OgrAlgorithm.py
@@ -42,7 +42,7 @@ def ogrConnectionString(self, uri):

layer = dataobjects.getObjectFromUri(uri, False)
if layer is None:
return uri
return '"' + uri + '"'
provider = layer.dataProvider().name()
if provider == 'spatialite':
# dbname='/geodata/osm_ch.sqlite' table="places" (Geometry) sql=

0 comments on commit 72af56d

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