From 5556555bca2c2c446479095c515bf5131ce542cc Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 11 May 2022 17:05:47 +0200 Subject: [PATCH] fixed paprika servings import --- cookbook/integration/paprika.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/integration/paprika.py b/cookbook/integration/paprika.py index 9a82c4aa7..010783e3a 100644 --- a/cookbook/integration/paprika.py +++ b/cookbook/integration/paprika.py @@ -27,7 +27,7 @@ class Paprika(Integration): recipe.description = '' if len(recipe_json['description'].strip()) > 500 else recipe_json['description'].strip() try: - if 'servings' in recipe_json['servings']: + if 'servings' in recipe_json: recipe.servings = parse_servings(recipe_json['servings']) recipe.servings_text = parse_servings_text(recipe_json['servings'])