From 6922ff3e06be9dd1f12b4914aeaa960e25ee08d9 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 13 May 2026 16:16:14 +0000 Subject: [PATCH] =?UTF-8?q?Evidence=20category=20matching=20is=20case-inse?= =?UTF-8?q?nsitive=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/pashub_fetcher/pashub_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pashub_fetcher/pashub_client.py b/backend/pashub_fetcher/pashub_client.py index 11195960..d7200a1f 100644 --- a/backend/pashub_fetcher/pashub_client.py +++ b/backend/pashub_fetcher/pashub_client.py @@ -87,7 +87,7 @@ class PashubClient: return None def _get_core_file_type(self, file: EvidenceFileData) -> Optional[CoreFiles]: - if file.evidence_category == "retrofit design": + if file.evidence_category is not None and file.evidence_category.lower() == "retrofit design": return CoreFiles.RETROFIT_DESIGN_DOC for core_file in CoreFiles: