diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-17 10:56:14 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-17 11:42:48 +0100 |
commit | 0c6a09cae34997b2b5aba83bac50fabacafde59f (patch) | |
tree | 93d3cf244e8d9e30a2bae529f7003cf6abbc5bd0 /searx/webapp.py | |
parent | def62c3a47384b6672cb584cd586ea104b86754f (diff) | |
download | searxng-0c6a09cae34997b2b5aba83bac50fabacafde59f.tar.gz searxng-0c6a09cae34997b2b5aba83bac50fabacafde59f.zip |
[refactor] remove never used parameter
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index fc851d44e..bb6e74b25 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -857,8 +857,6 @@ def __get_translated_errors(unresponsive_engines): error_user_text = exception_classname_to_text[None] error_msg = gettext(error_user_text) if unresponsive_engine[2]: - error_msg = "{} {}".format(error_msg, unresponsive_engine[2]) - if unresponsive_engine[3]: error_msg = gettext('Suspended') + ': ' + error_msg translated_errors.append((unresponsive_engine[0], error_msg)) |