Skip to content
Snippets Groups Projects
Commit ed536cd3 authored by fmk17's avatar fmk17
Browse files

Fix menu.meal not existing

parent 1ae1821a
No related branches found
No related tags found
No related merge requests found
......@@ -883,7 +883,9 @@ def send_scheduled(context: CallbackContext) -> None:
date=date,
date_raw=date_raw,
menus=[
menu for menu in menus if menu.meal == schedule.meal
menu
for menu in menus
if menu.meal_name == schedule.meal.name
],
)
for date, date_raw, menus in days
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment