summaryrefslogtreecommitdiff
path: root/searx/engines/photon.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 17:01:00 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 18:32:14 +0200
commitba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch)
tree70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /searx/engines/photon.py
parent94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff)
downloadsearxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.tar.gz
searxng-ba8959ad7c18ce4165d29b7a472d845bd96f4735.zip
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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'))