summaryrefslogtreecommitdiff
path: root/searx/botdetection/http_user_agent.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-08-24 15:16:46 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-09-03 13:37:36 +0200
commitf24d85bc4be732b8edb2157ef4ecf35d380d2b45 (patch)
tree290dbfe99502776e358b9256eebc02004767f1f0 /searx/botdetection/http_user_agent.py
parent57b9673efb1b4fd18a3ac15e26da642201e2cd33 (diff)
[mod] drop: from __future__ import annotations
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/botdetection/http_user_agent.py')
-rw-r--r--searx/botdetection/http_user_agent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/botdetection/http_user_agent.py b/searx/botdetection/http_user_agent.py
index 9b28660fe..76d2558ce 100644
--- a/searx/botdetection/http_user_agent.py
+++ b/searx/botdetection/http_user_agent.py
@@ -12,7 +12,7 @@ the User-Agent_ header is unset or matches the regular expression
"""
-from __future__ import annotations
+
import re
from ipaddress import (
IPv4Network,