Skip to content
Permalink
Browse files

[processing] fixed handling of source strings in ogr algorithms

  • Loading branch information
volaya committed Dec 16, 2014
1 parent 9fbcc7e commit 901c7642d1788c0dcb2feeeb27758aae02c1b0a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/gdal/OgrAlgorithm.py
@@ -65,8 +65,8 @@ def ogrConnectionString(self, uri):
s = re.sub(''' sslmode=.+''', '', unicode(layer.source()))
ogrstr = 'PG:%s' % s
else:
ogrstr = unicode(layer.source())
return ogrstr
ogrstr = unicode(layer.source()).split("|")[0]
return '"' + ogrstr + '"'

def ogrLayerName(self, uri):
if 'host' in uri:

0 comments on commit 901c764

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