diff --git a/recommendations/WallRecommendations.py b/recommendations/WallRecommendations.py index 7aeabc7a..edfc4d66 100644 --- a/recommendations/WallRecommendations.py +++ b/recommendations/WallRecommendations.py @@ -236,8 +236,8 @@ class WallRecommendations(Definitions): # + it already has a U-value better than the building regulations, so we don't need to recommend anything if ( (not is_cavity_wall) - and (self.property.year_built >= self.YEAR_WALLS_BUILT_WITH_INSULATION) - and (u_value <= self.BUILDING_REGULATIONS_PART_L_MAX_U_VALUE) + and ((self.property.year_built >= self.YEAR_WALLS_BUILT_WITH_INSULATION) + or (u_value <= self.BUILDING_REGULATIONS_PART_L_MAX_U_VALUE)) ): # Recommend nothing return