mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 14:48:02 -05:00
prepTime and workTime of CookbookApp not imported correctly
This commit is contained in:
@@ -36,8 +36,8 @@ class CookBookApp(Integration):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
recipe.working_time = iso_duration_to_minutes(recipe_json['prep_time'])
|
recipe.working_time = iso_duration_to_minutes(recipe_json['prepTime'])
|
||||||
recipe.waiting_time = iso_duration_to_minutes(recipe_json['cook_time'])
|
recipe.waiting_time = iso_duration_to_minutes(recipe_json['cookTime'])
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user