From 4a594f1b5346d32e446d6ce0c702173d1a2d8862 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 16 Apr 2025 18:59:06 +0200 Subject: [fix] ResourceWarning: unclosed database in sqlite3 Reported: - https://github.com/inetol-infrastructure/searxng-container/issues/5 Related: - https://github.com/searxng/searxng/issues/4405#issuecomment-2692352352 Signed-off-by: Markus Heiser --- searx/favicons/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'searx/favicons/__init__.py') diff --git a/searx/favicons/__init__.py b/searx/favicons/__init__.py index 39c4ad716..4e0aaaf3e 100644 --- a/searx/favicons/__init__.py +++ b/searx/favicons/__init__.py @@ -1,5 +1,12 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Implementations for providing the favicons in SearXNG""" +"""Implementations for providing the favicons in SearXNG. + +There is a command line for developer purposes and for deeper analysis. Here is +an example in which the command line is called in the development environment:: + + $ ./manage pyenv.cmd bash --norc --noprofile + (py3) python -m searx.favicons --help +""" from __future__ import annotations -- cgit v1.2.3