From 4231a5770bced12497cbd0a3000d12c8d3940295 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 24 Jul 2022 20:56:03 +0200 Subject: [fix] sjp engine - convert enginename to a latin1 compliance name The engine name is not only a *name* its also a identifier that is used in logs, HTTP headers and more. Unicode characters in the name of an engine could cause various issues. Closes: https://github.com/searxng/searxng/issues/1544 Signed-off-by: Markus Heiser --- searx/engines/sjp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'searx/engines/sjp.py') diff --git a/searx/engines/sjp.py b/searx/engines/sjp.py index 8342a2819..6daa46e78 100644 --- a/searx/engines/sjp.py +++ b/searx/engines/sjp.py @@ -1,6 +1,8 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Słownik Języka Polskiego (general) +# lint: pylint +"""Słownik Języka Polskiego +Dictionary of the polish language from PWN (sjp.pwn) """ from lxml.html import fromstring -- cgit v1.2.3