diff --git a/recommendations/RoofRecommendations.py b/recommendations/RoofRecommendations.py index 0324c9cb..1e5636ff 100644 --- a/recommendations/RoofRecommendations.py +++ b/recommendations/RoofRecommendations.py @@ -150,7 +150,7 @@ class RoofRecommendations: return # If we have a u-value and we don't have a non-invasive recommendation, we can't recommend anything - if u_value and not any( + if (u_value is not None) and not any( x in MEASURE_MAP["roof_insulation"] for x in [r["type"] for r in self.property.non_invasive_recommendations] ): # We don't have enough information to provide a recommendation