diff options
author | Bnyro <bnyro@tutanota.com> | 2024-05-05 19:41:27 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-05-09 17:40:37 +0200 |
commit | 383d8735976466e91c69d3d7033fc352b100d50a (patch) | |
tree | 311a0095b3b48a0246faed677f6320de167b1c69 | |
parent | fb32425d784bbc8e2a958ed3062888b75cab230d (diff) | |
download | searxng-383d8735976466e91c69d3d7033fc352b100d50a.tar.gz searxng-383d8735976466e91c69d3d7033fc352b100d50a.zip |
[fix] unit converter plugin: can't be disabled in settings
-rw-r--r-- | searx/plugins/unit_converter.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |