import configparser


def get_details(field, detail):
    """
        Config parser
        Reads config.ini file, returns data from an appropriate field and detail
    """

    config = configparser.ConfigParser()
    config.read("config.ini")
    return config[field][detail]