summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-05-29 11:38:34 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-05-31 20:34:59 +0200
commitff206e967993bd2e7aa6597b03d0affee20948b9 (patch)
tree1b03b3da44e5db205c55f6ed7783a94c6da3d8d7 /searx/plugins
parenta800dd04735c98a293edff00493a5fee3dfeaed7 (diff)
[mod] weather results: add types, i18n/l10n, symbols & unit conversions
The types necessary for weather information such as GeoLocation, DateTime, Temperature,Pressure, WindSpeed, RelativeHumidity, Compass (wind direction) and symbols for the weather have been implemented. There are unit conversions and translations for weather property labels. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/plugins')
-rw-r--r--searx/plugins/unit_converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/plugins/unit_converter.py b/searx/plugins/unit_converter.py
index 0072afe55..8cefd1760 100644
--- a/searx/plugins/unit_converter.py
+++ b/searx/plugins/unit_converter.py
@@ -15,7 +15,7 @@ import babel.numbers
from flask_babel import gettext, get_locale
-from searx.units import symbol_to_si
+from searx.wikidata_units import symbol_to_si
from searx.plugins import Plugin, PluginInfo
from searx.result_types import EngineResults