diff options
| author | Om Alve <om@turboml.com> | 2026-08-23 18:26:13 +0530 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2026-09-02 16:30:00 +0200 |
| commit | b4f616fed70b0598a1817fb828c0cce29d0451be (patch) | |
| tree | b0133d0ea0d822b1e907983eb5ac8102ab51ff79 /searx/engines/torznab.py | |
| parent | fd29de6c55e81524172744d9f36917c271dd01b9 (diff) | |
[mod] engines: migrate to setup() from init() for simple tasks
Diffstat (limited to 'searx/engines/torznab.py')
| -rw-r--r-- | searx/engines/torznab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/torznab.py b/searx/engines/torznab.py index 1c9458237..c1bda04e2 100644 --- a/searx/engines/torznab.py +++ b/searx/engines/torznab.py @@ -83,7 +83,7 @@ show_torrent_files: bool = False show_magnet_links: bool = True -def init(engine_settings=None): # pylint: disable=unused-argument +def setup(_: dict[str, t.Any]) -> bool | None: """Initialize the engine.""" if len(base_url) < 1: raise ValueError('missing torznab base_url') |
