From 8155c7b01cca05fe8f678cd7d5fa3c4424726c49 Mon Sep 17 00:00:00 2001
From: fmk17 <fmk17@inf.ufpr.br>
Date: Mon, 14 Feb 2022 09:55:14 -0300
Subject: [PATCH] Fix scheduled sending not working

---
 main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.py b/main.py
index 545af23..d418d02 100644
--- a/main.py
+++ b/main.py
@@ -875,7 +875,7 @@ def send_scheduled(context: CallbackContext) -> None:
 
     for schedule in schedules:
         days, location, update_datetime = get_location_days(
-            schedule.location, menu_item_indicators
+            schedule.meal.location, menu_item_indicators
         )
         location_days = LocationDays(
             days=[
-- 
GitLab