From 7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5 Mon Sep 17 00:00:00 2001 From: Dat Nguyen Date: Thu, 21 Nov 2019 14:10:06 -0600 Subject: removed unnecessary --- Web/Server/Server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Web') diff --git a/Web/Server/Server.py b/Web/Server/Server.py index f61419a..45f06b0 100644 --- a/Web/Server/Server.py +++ b/Web/Server/Server.py @@ -48,8 +48,8 @@ def upload_file(): flash('Running test') response = requests.post(PI_URL + '/tests/endpoint', json=dictToSend) - results_filename = json.loads(response.text)[u'results_filename'].encode("ascii") - results_content = json.loads(response.text)[u'results_content'].encode("ascii") + results_filename = json.loads(response.text)[u'results_filename'] + results_content = json.loads(response.text)[u'results_content'] flash('Results file:' + results_filename) flash('Response from server:' + results_content) -- cgit v1.2.3