From ebbfe3e9e85310e077af1c0f9c23b2d884f8ac7b Mon Sep 17 00:00:00 2001 From: CaptainOfHacks <39195263+CaptainOfHacks@users.noreply.github.com> Date: Tue, 12 Mar 2024 21:09:40 +0200 Subject: [PATCH] Update notice_fetcher.py --- ted_sws/notice_fetcher/services/notice_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ted_sws/notice_fetcher/services/notice_fetcher.py b/ted_sws/notice_fetcher/services/notice_fetcher.py index 305f2121..3df0d638 100644 --- a/ted_sws/notice_fetcher/services/notice_fetcher.py +++ b/ted_sws/notice_fetcher/services/notice_fetcher.py @@ -113,7 +113,7 @@ def fetch_notices_by_query(self, query: dict) -> List[str]: notice_ids = set() for document in documents: notice = self._create_notice(notice_data=document) - if check_if_xml_manifestation_is_eform(notice.xml_manifestation.object_data): + if check_if_xml_manifestation_is_eform(notice.xml_manifestation): notice_ids.add(document["ND"]) self.notice_repository.add(notice=notice) else: