diff --git a/tunictracker/tracker/views.py b/tunictracker/tracker/views.py index bfc73de..ee32664 100644 --- a/tunictracker/tracker/views.py +++ b/tunictracker/tracker/views.py @@ -9,9 +9,9 @@ import requests def index(request): - # tracker_output = loads(requests.get('http://localhost:8000/spoiler').text) - with open('spoiler.json', 'r') as t: - tracker_output = loads(t.read()) + tracker_output = loads(requests.get('http://localhost:8000/spoiler').text) + # with open('spoiler.json', 'r') as t: + # tracker_output = loads(t.read()) tracker_debug = tracker_output["Debug"] tracker_totals = tracker_output["Totals"] tracker_current_scene = tracker_output["Scene"]