Add showtimes amounts

This commit is contained in:
Mathias DUPEUX 2024-09-19 20:22:41 +02:00
parent 1651cbe071
commit 97f6db0155

5
app.py
View file

@ -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__)