summaryrefslogtreecommitdiff
path: root/yaksh/xmlrpc_clients.py
diff options
context:
space:
mode:
authorankitjavalkar2016-11-18 16:10:22 +0530
committerankitjavalkar2016-12-21 18:12:52 +0530
commit15de9ce5fe9d1e456bfae60090807a77c6afef0a (patch)
tree8f7d8c96da853ed8629b50305da099bf51f75095 /yaksh/xmlrpc_clients.py
parent77e8a6c1cde9190daf9075d71caf6017dc1380e7 (diff)
downloadonline_test-15de9ce5fe9d1e456bfae60090807a77c6afef0a.tar.gz
online_test-15de9ce5fe9d1e456bfae60090807a77c6afef0a.tar.bz2
online_test-15de9ce5fe9d1e456bfae60090807a77c6afef0a.zip
Fix output rendering in the question
Diffstat (limited to 'yaksh/xmlrpc_clients.py')
-rw-r--r--yaksh/xmlrpc_clients.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/xmlrpc_clients.py b/yaksh/xmlrpc_clients.py
index bb8260d..fbcd6a5 100644
--- a/yaksh/xmlrpc_clients.py
+++ b/yaksh/xmlrpc_clients.py
@@ -69,7 +69,8 @@ class CodeServerProxy(object):
except ConnectionError:
result = json.dumps({'success': False,
'weight': 0.0,
- 'error': 'Unable to connect to any code servers!'})
+ 'error': ['Unable to connect to any code servers!']
+ })
return result
def _get_server(self):