mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 16:16:40 +00:00
Remove logs
This commit is contained in:
parent
9deeb46e0c
commit
009818cc6e
3 changed files with 1 additions and 1777 deletions
4
app.py
4
app.py
|
@ -65,10 +65,6 @@ def getShowtimes(date):
|
|||
showtimes = getShowtimes(datetime.today()+timedelta(days=1))
|
||||
print("Séances récupéré!")
|
||||
|
||||
import json
|
||||
with open("tmp.json", "w+", encoding="utf-8") as f:
|
||||
json.dump(showtimes, f, ensure_ascii=False, indent=4)
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
def translateMonth(num: int):
|
||||
|
|
|
@ -9,6 +9,7 @@ class Movie:
|
|||
self.runtime = data["runtime"]
|
||||
self.synopsis = data["synopsis"]
|
||||
self.genres = [genre['translate'] for genre in data["genres"]]
|
||||
self.wantToSee = data['stats']["wantToSeeCount"]
|
||||
try:
|
||||
self.affiche = data["poster"]["url"]
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue