mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix variable assignment in Processing
This commit is contained in:
parent
da39ab3894
commit
5a9df7eba3
@ -211,9 +211,10 @@ def getObject(uriorname):
|
|||||||
|
|
||||||
def normalizeLayerSource(source):
|
def normalizeLayerSource(source):
|
||||||
if isWindows():
|
if isWindows():
|
||||||
s = source.replace('\\', '/')
|
source = source.replace('\\', '/')
|
||||||
s = s.replace('"', "'")
|
source = source.replace('"', "'")
|
||||||
return s
|
return source
|
||||||
|
|
||||||
|
|
||||||
def getObjectFromUri(uri, forceLoad=True):
|
def getObjectFromUri(uri, forceLoad=True):
|
||||||
"""Returns an object (layer/table) given a source definition.
|
"""Returns an object (layer/table) given a source definition.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user