diff --git a/cookbook/helper/recipe_url_import.py b/cookbook/helper/recipe_url_import.py index 93a9b7c32..3024c7e3a 100644 --- a/cookbook/helper/recipe_url_import.py +++ b/cookbook/helper/recipe_url_import.py @@ -322,6 +322,11 @@ def parse_servings_text(servings): servings = re.sub("\d+", '', servings).strip() except Exception: servings = '' + if type(servings) == list: + try: + servings = parse_servings_text(servings[1]) + except Exception: + pass return str(servings)[:32]