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