diff options
| author | jazzzooo <38244149+jazzzooo@users.noreply.github.com> | 2023-09-15 00:53:03 -0700 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-18 16:20:27 +0200 |
| commit | 223b3487c38a2390ad936943266a44da9cbb810a (patch) | |
| tree | 6dde6498a4c37731427715d01b6314b09be52897 /searx/engines/openstreetmap.py | |
| parent | a9b6963971327605db1509795be7795dc7401f3f (diff) | |
[fix] spelling
Diffstat (limited to 'searx/engines/openstreetmap.py')
| -rw-r--r-- | searx/engines/openstreetmap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py index 650bfedd1..68ec0549e 100644 --- a/searx/engines/openstreetmap.py +++ b/searx/engines/openstreetmap.py @@ -162,7 +162,7 @@ def response(resp): } ) - # simplify the code below: make sure extratags is a dictionnary + # simplify the code below: make sure extratags is a dictionary for result in nominatim_json: if not isinstance(result.get('extratags'), dict): result["extratags"] = {} @@ -445,7 +445,7 @@ def get_key_label(key_name, lang): if key_name.startswith('currency:'): # currency:EUR --> get the name from the CURRENCIES variable # see https://wiki.openstreetmap.org/wiki/Key%3Acurrency - # and for exampe https://taginfo.openstreetmap.org/keys/currency:EUR#values + # and for example https://taginfo.openstreetmap.org/keys/currency:EUR#values # but there is also currency=EUR (currently not handled) # https://taginfo.openstreetmap.org/keys/currency#values currency = key_name.split(':') |