aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDat Nguyen <nguy2854@umn.edu>2019-11-21 14:10:06 -0600
committerDat Nguyen <nguy2854@umn.edu>2019-11-21 14:10:06 -0600
commit7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5 (patch)
tree8b1e2f361282927236221410ea16e9805d731d85
parentfixed space (diff)
downloadee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar.gz
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar.bz2
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar.lz
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar.xz
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.tar.zst
ee4511w-7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5.zip
removed unnecessary
Diffstat (limited to '')
-rw-r--r--Web/Server/Server.py4
1 files changed, 2 insertions, 2 deletions
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)