mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] fixed handling of source strings in ogr algorithms
This commit is contained in:
parent
9fbcc7e248
commit
901c7642d1
@ -65,8 +65,8 @@ class OgrAlgorithm(GdalAlgorithm):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user