Skip to content

Commit

Permalink
fix variable assignment in Processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jun 24, 2015
1 parent da39ab3 commit 5a9df7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/plugins/processing/tools/dataobjects.py
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 5a9df7e

Please sign in to comment.