diff --git a/cookbook/helper/recipe_url_import.py b/cookbook/helper/recipe_url_import.py index f991c17cc..aa3cc5cff 100644 --- a/cookbook/helper/recipe_url_import.py +++ b/cookbook/helper/recipe_url_import.py @@ -301,7 +301,7 @@ def parse_servings_text(servings): servings = re.sub("\d+", '', servings).strip() except Exception: servings = '' - return servings[:32] + return str(servings)[:32] def parse_time(recipe_time):