diff --git a/showtimes.py b/showtimes.py index 52a8a6a5f8b7591ec432abecf5e0695f45892f98..323e1aef884c6ea872c0ccf58d9622606505f751 100644 --- a/showtimes.py +++ b/showtimes.py @@ -3,8 +3,10 @@ from werkzeug.exceptions import NotFound import json import os -movies_service = "http://127.0.0.1:5001/movies/{}" + app = Flask(__name__) +movies_service = "http://127.0.0.1:5001/movies/{}" +showtimes_db = f"{os.getcwd()}/database/showtimes.json" with open("{}/database/showtimes.json".format(os.getcwd()), "r") as f: showtimes = json.load(f)