diff options
author | Adam Tauber <asciimoo@gmail.com> | 2018-08-19 15:32:32 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2018-08-19 15:32:32 +0200 |
commit | c5c812899f737082f65d0726fbc0ad21501e09e7 (patch) | |
tree | 12d68cac0b0972a787e906cb5153d36c389bd196 | |
parent | f7bb45e8912a8529e59146afd3b9cf3413d70a67 (diff) | |
download | searxng-c5c812899f737082f65d0726fbc0ad21501e09e7.tar.gz searxng-c5c812899f737082f65d0726fbc0ad21501e09e7.zip |
[fix] pep8
-rw-r--r-- | searx/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py index f50391f16..950a49f23 100644 --- a/searx/search.py +++ b/searx/search.py @@ -148,7 +148,7 @@ def search_one_request_safe(engine_name, query, request_params, result_container # update continuous_errors / suspend_end_time engine.continuous_errors += 1 engine.suspend_end_time = time() + min(settings['search']['max_ban_time_on_fail'], - engine.continuous_errors*settings['search']['ban_time_on_fail']) + engine.continuous_errors * settings['search']['ban_time_on_fail']) else: # no HTTP error (perhaps an engine error) # anyway, reset the suspend variables |