From e18e49376ce867720151adfc77ae5846917bbc87 Mon Sep 17 00:00:00 2001
From: ankitjavalkar
Date: Tue, 12 Dec 2017 15:28:00 +0530
Subject: Fix bug to allow tests to run successfully

---
 yaksh/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'yaksh/models.py')

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
-- 
cgit