diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-10 18:44:49 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-10 18:44:49 +0100 |
commit | f703a77fc9d44e1a2718a4c26a507973f3bf976d (patch) | |
tree | b76fcd61d23ca1fcde3b6ff41c73e43ab0cc0a6a /searx/engines/photon.py | |
parent | 8c2a5f04926473a2a89667b7603e21cc31b80f61 (diff) | |
download | searxng-f703a77fc9d44e1a2718a4c26a507973f3bf976d.tar.gz searxng-f703a77fc9d44e1a2718a4c26a507973f3bf976d.zip |
Photon's unit test
As in Flickr, a continue is not detected by coverage as covered but it is.
Diffstat (limited to 'searx/engines/photon.py')
-rw-r--r-- | searx/engines/photon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/photon.py b/searx/engines/photon.py index 16340d24a..a9c558c4b 100644 --- a/searx/engines/photon.py +++ b/searx/engines/photon.py @@ -61,7 +61,7 @@ def response(resp): continue # get title - title = properties['name'] + title = properties.get('name') # get osm-type if properties.get('osm_type') == 'N': |