Skip to content

Commit

Permalink
Merge pull request #2164 from Gustry/fix-replace
Browse files Browse the repository at this point in the history
[Processing] fix variable assignment
  • Loading branch information
volaya committed Jun 24, 2015
2 parents aab071d + 5a9df7e commit 59b176d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/plugins/processing/tools/dataobjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 59b176d

Please sign in to comment.