summaryrefslogtreecommitdiff
path: root/searx/engines/tonline.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/tonline.py')
-rw-r--r--searx/engines/tonline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/tonline.py b/searx/engines/tonline.py
index 328b42d69..04fb34250 100644
--- a/searx/engines/tonline.py
+++ b/searx/engines/tonline.py
@@ -44,7 +44,7 @@ tonline_channel_map = {"images": "flickr", "videos": "yt"}
language = "de"
-def init(_):
+def setup(_: dict[str, t.Any]) -> bool | None:
if tonline_categ not in ("web", "images", "videos", "news"):
raise ValueError("invalid category: %s" % tonline_categ)