def atom_profile(environ, start_response): """ Send the atom profile, which is actually a search for tiddlers modified by the user. """ username = get_route_value(environ, 'username') search_string = _search_string(username) environ['tiddlyweb.query']['q'] = [search_string] return search(environ, start_response)
def atom_profile(environ, start_response): """ Send the atom profile, which is actually a search for tiddlers modified by the user. """ username = environ['wsgiorg.routing_args'][1]['username'] search_string = _search_string(username) environ['tiddlyweb.query']['q'] = [search_string] return search(environ, start_response)