human
Complete this python program:
def loadhook(h):
assistant
#Here is the Python program you requested.

    """Converts a load hook into an application processor.
    >>> app = auto_application()
    >>> def f(): "something done before handling request"
    >>> app.add_processor(loadhook(f))
    """
    def processor(handler):
        h()
        return handler()
    return processor