diff options
author | prathamesh | 2017-09-12 12:50:44 +0530 |
---|---|---|
committer | prathamesh | 2017-09-12 12:50:44 +0530 |
commit | f65102cf4b6a117a3ff86971ad9c1ddd3362c9fd (patch) | |
tree | a046617f76879ea5c056ae2c8f39b0a97c8a18a7 /yaksh | |
parent | cc7fce05eaf48e6662b2f37f088591627f12131a (diff) | |
download | online_test-f65102cf4b6a117a3ff86971ad9c1ddd3362c9fd.tar.gz online_test-f65102cf4b6a117a3ff86971ad9c1ddd3362c9fd.tar.bz2 online_test-f65102cf4b6a117a3ff86971ad9c1ddd3362c9fd.zip |
Change in variable name
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index 97da29c..3f9f622 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -616,8 +616,8 @@ def check(request, q_id, attempt_num=None, questionpaper_id=None): if current_question.type in ['code', 'upload']: if paper.time_left() <= 0: url = 'http://localhost:%s' % SERVER_POOL_PORT - result = get_result_from_code_server(url, uid, block=True) - result = json.loads(result.get('result')) + result_details = get_result_from_code_server(url, uid, block=True) + result = json.loads(result_details.get('result')) next_question, error_message, paper = _update_paper(request, uid, result) return show_question(request, next_question, paper, error_message) |