Merge pull request #1012 from krial057/patch-2
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