fix variable assignment in Processing

This commit is contained in:
Etienne Trimaille 2015-06-24 11:29:45 +02:00
parent da39ab3894
commit 5a9df7eba3

View File

@ -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.