totally ignore sonic unless its the selected search backend

This commit is contained in:
Nick Sweeting 2024-10-09 19:12:47 -07:00
parent 8ce7313325
commit 5e2dfb5baa
No known key found for this signature in database

View file

@ -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,
]