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/luxxle.py | |
| parent | fd29de6c55e81524172744d9f36917c271dd01b9 (diff) | |
[mod] engines: migrate to setup() from init() for simple tasks
Diffstat (limited to 'searx/engines/luxxle.py')
| -rw-r--r-- | searx/engines/luxxle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/luxxle.py b/searx/engines/luxxle.py index a25b64efe..a7bc71f09 100644 --- a/searx/engines/luxxle.py +++ b/searx/engines/luxxle.py @@ -51,7 +51,7 @@ enable_http2 = False safe_search_map = {0: "Off", 1: "Moderate", 2: "Strict"} -def init(_): +def setup(_: dict[str, t.Any]) -> bool | None: if luxxle_categ not in ("search", "images", "videos", "news"): raise ValueError("invalid luxxle category: %s" % luxxle_categ) |
