From 4dd9e4363884d9e5c1dd7ba6cf955d54ea301311 Mon Sep 17 00:00:00 2001 From: Ada Werefox Date: Sat, 2 Mar 2024 19:54:20 -0600 Subject: [PATCH] Ooops wrong monitor. --- tunictracker/tracker/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]