From d0daa357f16f9002fca53a301a78e698ba25a5c2 Mon Sep 17 00:00:00 2001 From: Aymeric Chaumont <aymeric.chaumont@student-cs.fr> Date: Wed, 20 Jul 2022 14:57:03 +0200 Subject: [PATCH] linting --- backend/db/crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/db/crud.py b/backend/db/crud.py index 97bb655..6a9e3a0 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( -- GitLab