summaryrefslogtreecommitdiff
path: root/searx/search/checker
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-19 21:29:31 +0100
committerAlexandre Flament <alex@al-f.net>2021-01-19 21:29:31 +0100
commit3b7b852aa82d068b61bba2fdcc6aa03b4d1e62f6 (patch)
tree7db62a9b6856f025057fe99a1d1fa8f777833dcf /searx/search/checker
parentaa887eb375224da7253f3d98d20b922705e28df6 (diff)
downloadsearxng-3b7b852aa82d068b61bba2fdcc6aa03b4d1e62f6.tar.gz
searxng-3b7b852aa82d068b61bba2fdcc6aa03b4d1e62f6.zip
[fix] checker: minor fix about language detection
Diffstat (limited to 'searx/search/checker')
-rw-r--r--searx/search/checker/__main__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/search/checker/__main__.py b/searx/search/checker/__main__.py
index 75b37e6c5..0d7d1b8ed 100644
--- a/searx/search/checker/__main__.py
+++ b/searx/search/checker/__main__.py
@@ -74,6 +74,7 @@ def run(engine_name_list, verbose):
stdout.write(f' {"found languages":15}: {" ".join(sorted(list(checker.test_results.languages)))}\n')
for test_name, logs in checker.test_results.logs.items():
for log in logs:
+ log = map(lambda l: l if isinstance(l, str) else repr(l), log)
stdout.write(f' {test_name:15}: {RED}{" ".join(log)}{RESET_SEQ}\n')