diff options
author | Dat Nguyen <nguy2854@umn.edu> | 2019-11-21 14:10:06 -0600 |
---|---|---|
committer | Dat Nguyen <nguy2854@umn.edu> | 2019-11-21 14:10:06 -0600 |
commit | 7a9ac11fdfebe5c6d39d46282eecc3d62d5885d5 (patch) | |
tree | 8b1e2f361282927236221410ea16e9805d731d85 /Web/Server | |
parent | fixed space (diff) | |
download | ee4511w-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 'Web/Server')
-rw-r--r-- | Web/Server/Server.py | 4 |
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) |