Skip to content
Snippets Groups Projects
Commit d4149dd5 authored by Krishnan, Arjun (PG/T - Computer Science)'s avatar Krishnan, Arjun (PG/T - Computer Science)
Browse files

Update showtimes.py

parent fa19e405
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,10 @@ from werkzeug.exceptions import NotFound ...@@ -3,8 +3,10 @@ from werkzeug.exceptions import NotFound
import json import json
import os import os
movies_service = "http://127.0.0.1:5001/movies/{}"
app = Flask(__name__) 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: with open("{}/database/showtimes.json".format(os.getcwd()), "r") as f:
showtimes = json.load(f) showtimes = json.load(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment