Skip to content
Permalink
Browse files

Merge pull request #2164 from Gustry/fix-replace

[Processing] fix variable assignment
  • Loading branch information
volaya committed Jun 24, 2015
2 parents aab071d + 5a9df7e commit 59b176d7d0adf006703e4e3497927be0952ccea9
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/tools/dataobjects.py
@@ -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.

0 comments on commit 59b176d

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