summaryrefslogtreecommitdiff
path: root/exam/xmlrpc_clients.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-19 16:08:05 +0530
committerPrabhu Ramachandran2011-11-19 16:08:05 +0530
commite263244c70e8c5db0bc89bfee84ce37fe8e40d16 (patch)
treebd0c511e9f1950ecce899033278430527a4a276f /exam/xmlrpc_clients.py
parentdb74ad784752eea326982c4e84faf9ec3768e006 (diff)
downloadonline_test-e263244c70e8c5db0bc89bfee84ce37fe8e40d16.tar.gz
online_test-e263244c70e8c5db0bc89bfee84ce37fe8e40d16.tar.bz2
online_test-e263244c70e8c5db0bc89bfee84ce37fe8e40d16.zip
Changed load_questions to load_exam
Added option to define quizzes in the file we load from. Also fixed bug in import for the xmlrpc_clients.py and changed the verbose name for Quiz objects.
Diffstat (limited to 'exam/xmlrpc_clients.py')
-rw-r--r--exam/xmlrpc_clients.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exam/xmlrpc_clients.py b/exam/xmlrpc_clients.py
index be2f8b1..5dc51c6 100644
--- a/exam/xmlrpc_clients.py
+++ b/exam/xmlrpc_clients.py
@@ -1,5 +1,5 @@
from xmlrpclib import ServerProxy
-from ..settings import SERVER_PORT
+from settings import SERVER_PORT
# Connect to the python server.
python_server = ServerProxy('http://localhost:%d'%(SERVER_PORT))