diff options
author | maheshgudi | 2017-11-23 12:59:25 +0530 |
---|---|---|
committer | maheshgudi | 2017-11-23 12:59:25 +0530 |
commit | c5469243a3357a030af0047dac90ae8fbbb77e85 (patch) | |
tree | bbcb8081d760f635be1342a838596f6375580ee7 /yaksh/views.py | |
parent | ae4e2dad126535cda41a7b4a05fdb247f9cdf737 (diff) | |
download | online_test-c5469243a3357a030af0047dac90ae8fbbb77e85.tar.gz online_test-c5469243a3357a030af0047dac90ae8fbbb77e85.tar.bz2 online_test-c5469243a3357a030af0047dac90ae8fbbb77e85.zip |
Minor changes in requesthandler.js
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 4 |
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') |