def list_to_dict(data):
    """
    Convert list to dict wit empty value.
    :param data: list
    :return: dict
    """
    try:
        return {d: "" for d in data}
    except TypeError:
        raise