mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 16:16:40 +00:00
Add showtimes amounts
This commit is contained in:
parent
1651cbe071
commit
97f6db0155
1 changed files with 3 additions and 2 deletions
5
app.py
5
app.py
|
@ -70,8 +70,9 @@ def getShowtimes(date):
|
||||||
|
|
||||||
showtimes = []
|
showtimes = []
|
||||||
for i in range(0, 7):
|
for i in range(0, 7):
|
||||||
print(f"Séances récupéré {i+1}/7!")
|
day_showtimes = getShowtimes(datetime.today()+timedelta(days=i))
|
||||||
showtimes.append(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__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue