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/engines/searchcode_doc.py | |
parent | 6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff) | |
download | searxng-bd22e9a3363090a5e4f851670b0650349a528749.tar.gz searxng-bd22e9a3363090a5e4f851670b0650349a528749.zip |
[fix] pep8 compatibilty
Diffstat (limited to 'searx/engines/searchcode_doc.py')
-rw-r--r-- | searx/engines/searchcode_doc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/searchcode_doc.py b/searx/engines/searchcode_doc.py index 9453f31a4..f24fe6f90 100644 --- a/searx/engines/searchcode_doc.py +++ b/searx/engines/searchcode_doc.py @@ -19,13 +19,13 @@ paging = True # search-url url = 'https://searchcode.com/' -search_url = url+'api/search_IV/?{query}&p={pageno}' +search_url = url + 'api/search_IV/?{query}&p={pageno}' # do search-request def request(query, params): params['url'] = search_url.format(query=urlencode({'q': query}), - pageno=params['pageno']-1) + pageno=params['pageno'] - 1) # Disable SSL verification # error: (60) SSL certificate problem: unable to get local issuer |