def read_config(self):
    settings = self.load_settings()
    self.max_results = int(settings.get('max_results', section='main', fallback=self.DEFAULT_MAX_RESULTS))
    self.language = settings.get('language', section='main', fallback=self.DEFAULT_LANGUAGE)
    self.fakeGenerator = Faker(self.language)
def read_config(self):
    settings = self.load_settings()
    self.max_results = int(settings.get('max_results', section='main', fallback=self.DEFAULT_MAX_RESULTS))
    self.language = settings.get('language', section='main', fallback=self.DEFAULT_LANGUAGE)
    self.fakeGenerator = Faker(self.language)