fixed parse servings function

This commit is contained in:
vabene1111
2022-06-20 16:53:14 +02:00
parent e7976fab46
commit cb86ece0c4

View File

@@ -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):