From 97f6db0155d1ce9b81e1d4d376ffc54aaa7f377d Mon Sep 17 00:00:00 2001 From: MathiasDPX Date: Thu, 19 Sep 2024 20:22:41 +0200 Subject: [PATCH] Add showtimes amounts --- app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 96f4f5a..3a106f2 100644 --- a/app.py +++ b/app.py @@ -70,8 +70,9 @@ def getShowtimes(date): showtimes = [] for i in range(0, 7): - print(f"Séances récupéré {i+1}/7!") - showtimes.append(getShowtimes(datetime.today()+timedelta(days=i))) + day_showtimes = getShowtimes(datetime.today()+timedelta(days=i)) + showtimes.append(day_showtimes) + print(f"{len(day_showtimes)} séances récupéré {i+1}/7!") app = Flask(__name__)