Skip to content

Commit

Permalink
[processing] quote return string when returning uri in ogrConnectionS…
Browse files Browse the repository at this point in the history
…tring

Fixes #13174
  • Loading branch information
volaya committed Sep 21, 2015
1 parent 8ed71fb commit 72af56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/OgrAlgorithm.py
Expand Up @@ -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=
Expand Down

0 comments on commit 72af56d

Please sign in to comment.