diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-01-18 12:47:31 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-01-18 12:47:31 +0100 |
commit | bd22e9a3363090a5e4f851670b0650349a528749 (patch) | |
tree | ea0b4b80430ffebc7e9eaa2c28188884a7c67218 /searx/autocomplete.py | |
parent | 6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff) | |
download | searxng-bd22e9a3363090a5e4f851670b0650349a528749.tar.gz searxng-bd22e9a3363090a5e4f851670b0650349a528749.zip |
[fix] pep8 compatibilty
Diffstat (limited to 'searx/autocomplete.py')
-rw-r--r-- | searx/autocomplete.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/searx/autocomplete.py b/searx/autocomplete.py index 264d0cc1f..d92dc4246 100644 --- a/searx/autocomplete.py +++ b/searx/autocomplete.py @@ -114,8 +114,7 @@ def dbpedia(query): # dbpedia autocompleter, no HTTPS autocomplete_url = 'http://lookup.dbpedia.org/api/search.asmx/KeywordSearch?' - response = get(autocomplete_url - + urlencode(dict(QueryString=query))) + response = get(autocomplete_url + urlencode(dict(QueryString=query))) results = [] @@ -141,8 +140,7 @@ def google(query): # google autocompleter autocomplete_url = 'https://suggestqueries.google.com/complete/search?client=toolbar&' - response = get(autocomplete_url - + urlencode(dict(q=query))) + response = get(autocomplete_url + urlencode(dict(q=query))) results = [] |