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

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/action.py

Allow fileservice actions to return custom JSON.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
    except KeyError:
198
198
        # Default, just send an error but then continue
199
199
        raise ActionError("Unknown action")
200
 
    action(req, fields)
 
200
    return action(req, fields)
201
201
 
202
202
def actionpath_to_urlpath(req, path):
203
203
    """Determines the URL path (relative to the student home) upon which the