From f65102cf4b6a117a3ff86971ad9c1ddd3362c9fd Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 12 Sep 2017 12:50:44 +0530 Subject: Change in variable name --- yaksh/views.py | 4 ++-- 1 file 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) -- cgit