Skip to content

Commit

Permalink
gdaltools: fix syntax error (follow edd0cdd)
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed Jun 27, 2013
1 parent dd406dc commit d147495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/GdalTools/tools/GdalTools_utils.py
Expand Up @@ -822,7 +822,7 @@ def setProcessEnvironment(process):
envval = os.getenv(name)
if envval == None or envval == "":
envval = str(val)
elif (platform.system() == "Windows" and val.lower() not in envval.lower().split( sep )) or
elif (platform.system() == "Windows" and val.lower() not in envval.lower().split( sep )) or \
(platform.system() != "Windows" and val not in envval.split( sep )):
envval += "%s%s" % (sep, str(val))
else:
Expand Down

0 comments on commit d147495

Please sign in to comment.