diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-04-16 18:59:06 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-05-03 08:39:12 +0200 |
| commit | 4a594f1b5346d32e446d6ce0c702173d1a2d8862 (patch) | |
| tree | 1a66b028d2b3b1bf7095166176677900abae8f56 /searx/favicons/__init__.py | |
| parent | 590b21165288127c6f942fe43d261d57d9a6d5c3 (diff) | |
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/favicons/__init__.py')
| -rw-r--r-- | searx/favicons/__init__.py | 9 |
1 files changed, 8 insertions, 1 deletions
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 |