summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 65308275b..2a93c3765 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -735,12 +735,12 @@ def search():
def __get_translated_errors(unresponsive_engines):
- translated_errors = []
+ translated_errors = set()
for unresponsive_engine in unresponsive_engines:
error_msg = gettext(unresponsive_engine[1])
if unresponsive_engine[2]:
error_msg = "{} {}".format(error_msg, unresponsive_engine[2])
- translated_errors.append((unresponsive_engine[0], error_msg))
+ translated_errors.add((unresponsive_engine[0], error_msg))
return translated_errors