diff --git a/backend/db/crud.py b/backend/db/crud.py index 97bb6554bbbfb624594714c0031660ef43d36f5f..6a9e3a0eb6f8ab14a0e01e9c228041e8bfaa438b 100644 --- a/backend/db/crud.py +++ b/backend/db/crud.py @@ -231,7 +231,7 @@ def get_news(place: str, db: Session): next_timetable = None for time_slot in opening_hours: if current_date.time() < time_slot.open_time: - next_timetable=time_slot.open_time + next_timetable = time_slot.open_time break if not next_timetable: closure = db.query(