proton: Fix checking environment overrides
This commit is contained in:
parent
a38fb17c7a
commit
e31b4f2b02
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
@ -54,7 +54,7 @@ def check_environment(env_name, config_name):
|
||||||
if not env_name in os.environ:
|
if not env_name in os.environ:
|
||||||
return
|
return
|
||||||
if os.environ[env_name] == "0" or len(os.environ[env_name]) == 0:
|
if os.environ[env_name] == "0" or len(os.environ[env_name]) == 0:
|
||||||
config_opts.remove(config_name)
|
config_opts.discard(config_name)
|
||||||
else:
|
else:
|
||||||
config_opts.add(config_name)
|
config_opts.add(config_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue