diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2026-02-20 15:03:43 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2026-02-22 09:30:16 +0100 |
| commit | cc39cf7df3f083b8f9b45d6ecdbbb84181ebabd4 (patch) | |
| tree | d7f43b8f75527cfd553c677f9d0d02adf849883a /searx/utils.py | |
| parent | 76f07123193653a6c7f80c2ca9976fdfb029c9a3 (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.py | 2 |
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 |
