88
87
msg = {'cmd':kind, 'text':text}
89
json_response = ivle.chat.chat(host, port, msg, magic,decode=False)
91
json_response = ivle.chat.chat(host, port, msg, magic,decode=False)
93
93
response = cjson.decode(json_response)
95
95
# Could not decode the reply from the python-console server
98
98
if "terminate" in response:
99
99
response = restart_console(req.config, uid, jail_path,
100
100
working_dir, response["terminate"])