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):
|
||||
if isWindows():
|
||||
s = source.replace('\\', '/')
|
||||
s = s.replace('"', "'")
|
||||
return s
|
||||
source = source.replace('\\', '/')
|
||||
source = source.replace('"', "'")
|
||||
return source
|
||||
|
||||
|
||||
def getObjectFromUri(uri, forceLoad=True):
|
||||
"""Returns an object (layer/table) given a source definition.
|
||||
|
Loading…
x
Reference in New Issue
Block a user