process replay: Fix setting environment vars (#25015)

Fix setting environments in process replay
pull/25013/head
Gijs Koning 3 years ago committed by GitHub
parent c8e5912b61
commit 12f8237bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/test/process_replay/process_replay.py

@ -398,8 +398,8 @@ def setup_env(simulation=False, CP=None, cfg=None):
if cfg is not None:
# Clear all custom processConfig environment variables
for cfg in CONFIGS:
for k, _ in cfg.environ.items():
for config in CONFIGS:
for k, _ in config.environ.items():
if k in os.environ:
del os.environ[k]

Loading…
Cancel
Save