From 5e2dfb5baad55bf2d964de2673d8a5dc913ddba2 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 9 Oct 2024 19:12:47 -0700 Subject: [PATCH] totally ignore sonic unless its the selected search backend --- archivebox/plugins_search/sonic/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/plugins_search/sonic/apps.py b/archivebox/plugins_search/sonic/apps.py index 2f6d4562..1d034bb5 100644 --- a/archivebox/plugins_search/sonic/apps.py +++ b/archivebox/plugins_search/sonic/apps.py @@ -120,7 +120,7 @@ class SonicSearchPlugin(BasePlugin): hooks: List[InstanceOf[BaseHook]] = [ SONIC_CONFIG, - *([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic' or SONIC_LIB) else []), + *([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic') else []), SONIC_SEARCH_BACKEND, ]