Skip to content

Commit

Permalink
Fix bug: AttributeError: 'str' object has no attribute 'id'
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Dec 9, 2024
1 parent a6bd091 commit d264aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d264aba

Please sign in to comment.