diff --git a/recipe_scrapers/barefootinthepines.py b/recipe_scrapers/barefootinthepines.py index 8ed5eb445..611c64150 100644 --- a/recipe_scrapers/barefootinthepines.py +++ b/recipe_scrapers/barefootinthepines.py @@ -16,11 +16,11 @@ def ingredient_groups(self): ) def nutrients(self): - nutrition_data = {} nutrition_container = self.soup.select_one(".mv-create-nutrition-box") if not nutrition_container: - return nutrition_data + return None + nutrition_data = {} for item in nutrition_container.select(".mv-create-nutrition-item"): label = item.select_one(".mv-create-nutrition-label") if label: