Skip to content

Commit e59c75b

Browse files
committed
Remove inner[]
1 parent fd756be commit e59c75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/api/objects/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ def on_reconnect(self, id_mapping: dict[str, str]) -> None:
697697
A mapping from offline identifier to online identifier.
698698
"""
699699
online_alert_ids: list[str] = list(
700-
set([id_mapping.get(_id) for _id in self._staging.get("alerts", [])])
700+
set(id_mapping.get(_id) for _id in self._staging.get("alerts", []))
701701
)
702702
if not all(online_alert_ids):
703703
raise KeyError("Could not find alert ID in offline to online ID mapping.")

0 commit comments

Comments
 (0)