From a7b51f023eae6d13684a7209f1ac4d4477381562 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 8 Mar 2024 18:22:31 +0100 Subject: [black] upgrade black 22.12.0 --> 24.2.0 The issue discussed in [1] has been solved since [2] has been merged into black / now we can upgrade without touching 69 files as it was needed with black 23.1.0 [3]. [1] https://github.com/searxng/searxng/pull/2159#issuecomment-1425723977 [2] https://github.com/psf/black/pull/4060 [3] https://github.com/searxng/searxng/pull/2159/files Signed-off-by: Markus Heiser --- searx/plugins/hostname_replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/plugins/hostname_replace.py') diff --git a/searx/plugins/hostname_replace.py b/searx/plugins/hostname_replace.py index 039aadb91..5a1df6921 100644 --- a/searx/plugins/hostname_replace.py +++ b/searx/plugins/hostname_replace.py @@ -22,7 +22,7 @@ _url_fields = ['iframe_src', 'audio_src'] def on_result(request, search, result): - for (pattern, replacement) in replacements.items(): + for pattern, replacement in replacements.items(): if parsed in result: if pattern.search(result[parsed].netloc): -- cgit v1.2.3