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