def read(self, config_file): config = {} with open(config_file) as conffile: config = toml.loads(conffile.read()) return config