From d264abafe48d47515ed6f1d2268b839adce8b256 Mon Sep 17 00:00:00 2001 From: Wok Date: Mon, 9 Dec 2024 19:56:16 +0100 Subject: [PATCH] Fix bug: AttributeError: 'str' object has no attribute 'id' --- internal/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils.py b/internal/utils.py index 91f312b13..c39552320 100644 --- a/internal/utils.py +++ b/internal/utils.py @@ -46,7 +46,7 @@ def build_known_ids(lst: list) -> frozenset[int]: def load_ids_from_aggregate() -> list[int]: aggregate = load_aggregate_from_disk() - return [e.id for e in aggregate] + return [e["id"] for e in aggregate.values()] def list_individual_profiles() -> list: