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] crash when lock is omitted
vojkovic300695de5c64
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.pyindex 40c68a029..c23ebd956 100644--- a/searx/settings_defaults.py+++ b/searx/settings_defaults.py@@ -147,6 +147,8 @@ def apply_schema(settings: dict[str, t.Any], schema: dict[str, t.Any], path_list# Type Validation at runtime:# https://jcristharif.com/msgspec/structs.html#type-validationcfg_dict = settings.get(key)+ if cfg_dict is None:+ cfg_dict = {}cfg_json = msgspec.json.encode(cfg_dict)settings[key] = msgspec.json.decode(cfg_json, type=value)except msgspec.ValidationError as e: