def METHOD_NAME(self):
    """Writes the configuration to an INI file"""
    config = ConfigParser()
    for section in self.config_dict:
        config.add_section(section)
        for key, value in self.config_dict[section].items():
            config.set(section, key, value)
    with open(self.config_file, 'w') as f:
        config.write(f)