diff --git a/autobean/truelayer/importer.py b/autobean/truelayer/importer.py index 97a651a..da5a91d 100644 --- a/autobean/truelayer/importer.py +++ b/autobean/truelayer/importer.py @@ -183,6 +183,9 @@ def _fetch_balances( def _fetch_all_transactions(self) -> list[Directive]: entries: list[Directive] = [] for type_ in ACCOUNT_TYPES: + if not type_ in self._config.data: + continue + for account_id, account in self._config.data[type_].items(): if not account['enabled']: continue