fixed deprecated model attribute on exporters

This commit is contained in:
vabene1111 2022-04-04 19:27:14 +02:00
parent b7e6e7b1b0
commit 56f3fe2d12
2 changed files with 9 additions and 11 deletions

View File

@ -77,7 +77,6 @@ class RecipeSage(Integration):
}
for s in recipe.steps.all():
if s.type != Step.TIME:
data['recipeInstructions'].append({
'@type': 'HowToStep',
'text': s.instruction

View File

@ -71,7 +71,6 @@ class Saffron(Integration):
recipeInstructions = []
recipeIngredient = []
for s in recipe.steps.all():
if s.type != Step.TIME:
recipeInstructions.append(s.instruction)
for i in s.ingredients.all():