human
Complete this python program:
def empty_if_none(fn):
assistant
#Here is the Python code you requested.

    """A wrapper for a value to return \\ if it\s None. Useful on export.
    Can be used in config files (e.g. "transform.empty_if_none(unicode)" or
    as a decorator.
    Args:
    fn: Single argument transform function.
    Returns:
    Wrapped function.
    """
    def wrapper(value):
        if (value is None):
            return ''
        return fn(value)
    return wrapper