diff --git a/skill/intent.py b/skill/intent.py index 084c7151..cdfff2c6 100644 --- a/skill/intent.py +++ b/skill/intent.py @@ -70,7 +70,7 @@ def _get_location(self): LOG.info(f"location={self._location}") # TODO: Better patch than this - if city == "Dusseldorf" and self.language.split('-') == 'de': + if city == "Dusseldorf" and self.language.split('-')[0] == 'de': self._location['city'] = 'Düsseldorf' return self._location