From b4f616fed70b0598a1817fb828c0cce29d0451be Mon Sep 17 00:00:00 2001 From: Om Alve Date: Sun, 23 Aug 2026 18:26:13 +0530 Subject: [mod] engines: migrate to setup() from init() for simple tasks --- searx/engines/fireball.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/engines/fireball.py') 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"]) -- cgit v1.2.3