summaryrefslogtreecommitdiff
path: root/searx/engines/fireball.py
diff options
context:
space:
mode:
authorOm Alve <om@turboml.com>2026-08-23 18:26:13 +0530
committerBnyro <bnyro@tutanota.com>2026-09-02 16:30:00 +0200
commitb4f616fed70b0598a1817fb828c0cce29d0451be (patch)
treeb0133d0ea0d822b1e907983eb5ac8102ab51ff79 /searx/engines/fireball.py
parentfd29de6c55e81524172744d9f36917c271dd01b9 (diff)
[mod] engines: migrate to setup() from init() for simple tasks
Diffstat (limited to 'searx/engines/fireball.py')
-rw-r--r--searx/engines/fireball.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/fireball.py b/searx/engines/fireball.py
index c9f3ca5de..e7370038b 100644
--- a/searx/engines/fireball.py
+++ b/searx/engines/fireball.py
@@ -47,7 +47,7 @@ CACHE_VALID_DURATION = 30 * 24 * 3600 # one month, same as website
"""Duration how long settings cookies are valid."""
-def init(engine_settings: dict[str, t.Any]):
+def setup(engine_settings: dict[str, t.Any]) -> bool | None:
global CACHE # pylint: disable=global-statement
CACHE = EngineCache(engine_settings["name"])