summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2026-02-20 15:03:43 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2026-02-22 09:30:16 +0100
commitcc39cf7df3f083b8f9b45d6ecdbbb84181ebabd4 (patch)
treed7f43b8f75527cfd553c677f9d0d02adf849883a /searx/utils.py
parent76f07123193653a6c7f80c2ca9976fdfb029c9a3 (diff)
[mod] fix some minor type hint issues / add some type hints more
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py
index 7d8a07e95..8d68fcaae 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -394,7 +394,7 @@ def convert_str_to_int(number_str: str) -> int:
return 0
-def extr(txt: str, begin: str, end: str, default: str = ""):
+def extr(txt: str, begin: str, end: str, default: str = "") -> str:
"""Extract the string between ``begin`` and ``end`` from ``txt``
:param txt: String to search in