mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
gdaltools: fix syntax error (follow edd0cdd294)
This commit is contained in:
parent
dd406dce3e
commit
d1474956f2
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user