mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-07 15:18:20 -05:00
fixed parse servings function
This commit is contained in:
@@ -301,7 +301,7 @@ def parse_servings_text(servings):
|
|||||||
servings = re.sub("\d+", '', servings).strip()
|
servings = re.sub("\d+", '', servings).strip()
|
||||||
except Exception:
|
except Exception:
|
||||||
servings = ''
|
servings = ''
|
||||||
return servings[:32]
|
return str(servings)[:32]
|
||||||
|
|
||||||
|
|
||||||
def parse_time(recipe_time):
|
def parse_time(recipe_time):
|
||||||
|
|||||||
Reference in New Issue
Block a user