SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] do not colorize output on dumb terminals
Markus Heiser9c581466e136
diff --git a/searx/search/checker/__main__.py b/searx/search/checker/__main__.pyindex c071e6437..2f808237a 100644--- a/searx/search/checker/__main__.py+++ b/searx/search/checker/__main__.py@@ -1,11 +1,12 @@import sys+import osimport searx.searchimport searx.search.processorsimport searx.search.checker-if sys.stdout.isatty():+if sys.stdout.isatty() and os.environ.get('TERM') not in ['dumb', 'unknown']:RESET_SEQ = "\033[0m"COLOR_SEQ = "\033[1;%dm"BOLD_SEQ = "\033[1m"