summaryrefslogtreecommitdiff
path: root/searx/engines/photon.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-09-28 09:22:02 +0200
committerGitHub <noreply@github.com>2022-09-28 09:22:02 +0200
commita3148e51157e2ddbfbeb405b4d0b61aeafa405ba (patch)
tree6972d4b4aacb6736c06be3f327546a094f6f86c1 /searx/engines/photon.py
parent0e00af9c26338984ed0241fb3677550a6afd1b7d (diff)
parentba8959ad7c18ce4165d29b7a472d845bd96f4735 (diff)
Merge pull request #1814 from return42/fix-typos
[fix] typos / reported by @kianmeng in searx PR-3366
Diffstat (limited to 'searx/engines/photon.py')
-rw-r--r--searx/engines/photon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/photon.py b/searx/engines/photon.py
index 16ea88194..2ea393679 100644
--- a/searx/engines/photon.py
+++ b/searx/engines/photon.py
@@ -70,7 +70,7 @@ def response(resp):
elif properties.get('osm_type') == 'R':
osm_type = 'relation'
else:
- # continue if invalide osm-type
+ # continue if invalid osm-type
continue
url = result_base_url.format(osm_type=osm_type, osm_id=properties.get('osm_id'))