summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2017-12-12 15:28:00 +0530
committerankitjavalkar2018-01-04 11:37:20 +0530
commite18e49376ce867720151adfc77ae5846917bbc87 (patch)
tree7e9b50abaf0f51f361ead386f233297f8f073b2a /yaksh
parent268371d956dbe5cf349f1f6d8b3e4594a5c8c479 (diff)
downloadonline_test-e18e49376ce867720151adfc77ae5846917bbc87.tar.gz
online_test-e18e49376ce867720151adfc77ae5846917bbc87.tar.bz2
online_test-e18e49376ce867720151adfc77ae5846917bbc87.zip
Fix bug to allow tests to run successfully
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index bc0b4f1..e733fc0 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -1705,7 +1705,7 @@ class AnswerPaper(models.Model):
elif question.type == 'code' or question.type == "upload":
user_dir = self.user.profile.get_user_dir()
- url = '{0}:{1}'.format(SERVER_HOST_NAME, SERVER_POOL_PORT)
+ url = '{0}:{1}'.format(SERVER_HOST_NAME, server_port)
submit(url, uid, json_data, user_dir)
result = {'uid': uid, 'status': 'running'}
return result