summaryrefslogtreecommitdiff
path: root/searx/plugins/unit_converter.py
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-10-09 11:59:31 +0200
committerBnyro <bnyro@tutanota.com>2024-11-24 12:41:57 +0100
commitf31a3a2053b07b834c5143bd6be4eaf05c1a014d (patch)
tree9f74011af2301a313b6780e711324efd88435b70 /searx/plugins/unit_converter.py
parent0253c10b522fe2e8206db78e37066771ce90cf92 (diff)
downloadsearxng-f31a3a2053b07b834c5143bd6be4eaf05c1a014d.tar.gz
searxng-f31a3a2053b07b834c5143bd6be4eaf05c1a014d.zip
[chore] *: fix typos detected by typos-cli
Diffstat (limited to 'searx/plugins/unit_converter.py')
-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 057e66e78..c85996a76 100644
--- a/searx/plugins/unit_converter.py
+++ b/searx/plugins/unit_converter.py
@@ -234,7 +234,7 @@ def _parse_text_and_convert(search, from_query, to_query):
value = target_from_si(float(value))
if measured.group('E'):
- # when incomming notation is scientific, outgoing notation is scientific
+ # when incoming notation is scientific, outgoing notation is scientific
result = babel.numbers.format_scientific(value, locale=_locale)
else:
result = babel.numbers.format_decimal(value, locale=_locale, format='#,##0.##########;-#')