mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Improvement Option Evaluation selected via substring match 🟩
This commit is contained in:
parent
5c652d9485
commit
a1f6ffd6b3
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ class PashubClient:
|
|||
if file.evidence_category is not None and file.evidence_category.lower() == "retrofit design":
|
||||
return CoreFiles.RETROFIT_DESIGN_DOC
|
||||
|
||||
if CoreFiles.IMPROVEMENT_OPTION_EVALUATION.value in file.file_name:
|
||||
return CoreFiles.IMPROVEMENT_OPTION_EVALUATION
|
||||
|
||||
for core_file in CoreFiles:
|
||||
if file.file_name.startswith(core_file.value):
|
||||
return core_file
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue