Skip to content

Commit

Permalink
Fix dictionary type initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Apr 6, 2024
1 parent 7f56ec9 commit ec6a1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/aed_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def _update_db_diffs(last_update: float) -> None:
return

# aeds need to be deduplicated to use ON CONFLICT
id_aed_map: dict[int, AED] = []
id_aed_map: dict[int, AED] = {}
remove_ids: set[int] = set()

for action in actions:
Expand Down

0 comments on commit ec6a1d1

Please sign in to comment.