From 346bd3b000803b60055918a3030161c3b8cbe49f Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Tue, 4 Feb 2025 13:08:40 -0800 Subject: [PATCH] Fix typo in patch --- skill/intent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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