From 4fa5e917f98b4200d4dc6c03182440138bb7843f Mon Sep 17 00:00:00 2001 From: Aymeric Chaumont <aymeric.chaumont@student-cs.fr> Date: Wed, 13 Jul 2022 17:32:01 +0200 Subject: [PATCH] linting --- backend/db/crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/db/crud.py b/backend/db/crud.py index 1d0ed8e..c117c22 100644 --- a/backend/db/crud.py +++ b/backend/db/crud.py @@ -165,7 +165,7 @@ def get_current_graph(place: str, db: Session): if first_timeslot and current_time <= first_timeslot[0]: return [], None, None elif first_timeslot and current_time <= first_timeslot[1]: - points = get_current_graph_points(place, day, first_timeslot[0], current_time, timedelta(minutes=5), db) + points = get_current_graph_points(place, day, first_timeslot[0], current_time, timedelta(minutes=5), db) start_time = 60 * first_timeslot[0].hour + first_timeslot[0].minute end_time = 60 * first_timeslot[1].hour + first_timeslot[1].minute return points, start_time, end_time @@ -173,7 +173,7 @@ def get_current_graph(place: str, db: Session): if second_timeslot and current_time <= second_timeslot[0]: return [], None, None elif second_timeslot and current_time <= second_timeslot[1]: - points = get_current_graph_points(place, day, second_timeslot[0], current_time, timedelta(minutes=5), db) + points = get_current_graph_points(place, day, second_timeslot[0], current_time, timedelta(minutes=5), db) start_time = 60 * second_timeslot[0].hour + second_timeslot[0].minute end_time = 60 * second_timeslot[1].hour + second_timeslot[1].minute return points, start_time, end_time -- GitLab