mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Fix comparison for search type in plugins mode
This commit is contained in:
parent
efe5e09c3a
commit
5e16074b92
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ def configure_content(
|
|||
|
||||
try:
|
||||
# Initialize External Plugin Search
|
||||
if (t == None or t in state.SearchType) and content_config.plugins and search_models.text_search:
|
||||
if t == None and content_config.plugins and search_models.text_search:
|
||||
logger.info("🔌 Setting up search for plugins")
|
||||
content_index.plugins = {}
|
||||
for plugin_type, plugin_config in content_config.plugins.items():
|
||||
|
|
Loading…
Reference in a new issue