mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Evidence category matching is case-insensitive 🟩
This commit is contained in:
parent
157a36f0cd
commit
6922ff3e06
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue