From 383d8735976466e91c69d3d7033fc352b100d50a Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 5 May 2024 19:41:27 +0200 Subject: [PATCH] [fix] unit converter plugin: can't be disabled in settings --- searx/plugins/unit_converter.py | 3 +++ 1 file changed, 3 insertions(+) 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