on master help sign in
[fix] pep8
commitc5c812899f737082f65d0726fbc0ad21501e09e7 authorAdam Tauber <asciimoo@gmail.com> dateSun 19 Aug 2018, 15:32 (8 years ago) parentf7bb45e
1 file changed+1−1
searx/search.py+1−1
searx/search.py+1−1
@@ -148,7 +148,7 @@ def search_one_request_safe(engine_name, query, request_params, result_container
148148 # update continuous_errors / suspend_end_time
149149 engine.continuous_errors += 1
150150 engine.suspend_end_time = time() + min(settings['search']['max_ban_time_on_fail'],
151− engine.continuous_errors*settings['search']['ban_time_on_fail'])
151+ engine.continuous_errors * settings['search']['ban_time_on_fail'])
152152 else:
153153 # no HTTP error (perhaps an engine error)
154154 # anyway, reset the suspend variables