Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] unit converter plugin: can't be disabled in settings

Bnyro383d87359764
diff --git a/searx/plugins/unit_converter.py b/searx/plugins/unit_converter.py
index 6ac25b8d8..cf8c6ccc3 100644
--- a/searx/plugins/unit_converter.py
+++ b/searx/plugins/unit_converter.py
@@ -29,6 +29,9 @@ name = "Unit converter plugin"
description = gettext("Convert between units")
default_on = True
+plugin_id = "unit_converter"
+preference_section = "general"
+
CONVERT_KEYWORDS = ["in", "to", "as"]
# inspired from https://stackoverflow.com/a/42475086