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

« back to all changes in this revision

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

Better instructions in the usage message.

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
 
 
87
84
        msg = {'cmd':kind, 'text':text}
88
85
        try:
89
86
            json_response = ivle.chat.chat(host, port, msg, magic,decode=False)