summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 29f017e..9d0d9e8 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -653,10 +653,6 @@ def check(request, q_id, attempt_num=None, questionpaper_id=None):
@csrf_exempt
def get_result(request, uid):
result = {}
- template_dir = os.path.dirname(os.path.realpath(__file__))
- template_path = os.path.join(*[template_dir, 'templates',
- 'yaksh','error_messages.html'
- ])
url = 'http://localhost:%s' % SERVER_POOL_PORT
result_state = get_result_from_code_server(url, uid)
result['status'] = result_state.get('status')