Skip to content

Commit

Permalink
Fix typo in patch
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Feb 4, 2025
1 parent fb4227d commit 346bd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skill/intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 346bd3b

Please sign in to comment.