diff --git a/cookbook/helper/recipe_url_import.py b/cookbook/helper/recipe_url_import.py index bb7ec81e4..0ff4f1c9f 100644 --- a/cookbook/helper/recipe_url_import.py +++ b/cookbook/helper/recipe_url_import.py @@ -224,7 +224,7 @@ def find_recipe_json(ld_json, url): ld_json['servings'] = int(re.findall(r'\b\d+\b', ld_json['recipeYield'])[0]) except Exception as e: print(e) - ld_json['servings'] = 0 + ld_json['servings'] = 1 for key in list(ld_json): if key not in [