~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/console/service.py

MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        working_dir = os.path.join("/home", req.user.login)   # Within jail
82
82
        uid = req.user.unixid
83
83
 
 
84
        # XXX: JSONRESTView should do this for us.
 
85
        text = text.decode('utf-8')
 
86
 
84
87
        msg = {'cmd':kind, 'text':text}
85
88
        try:
86
89
            json_response = ivle.chat.chat(host, port, msg, magic,decode=False)