Skip to content

Commit

Permalink
Formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
0mdc committed Sep 13, 2024
1 parent 4ab5b8b commit e2e87eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion habitat-lab/habitat/core/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ def __init__(
with read_write(agent_configs):
for agent_name, agent_config in agent_configs.items():
active_sim_sensors = {}
for sensor_key, sensor_config in agent_config.sim_sensors.items():
for (
sensor_key,
sensor_config,
) in agent_config.sim_sensors.items():
sensor_uuid = f"{agent_name}_{sensor_config.uuid}"
if sensor_uuid in active_sensors:
active_sim_sensors[sensor_key] = sensor_config
Expand Down

0 comments on commit e2e87eb

Please sign in to comment.