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