Fix comparison for search type in plugins mode

This commit is contained in:
sabaimran 2023-09-25 10:57:17 -07:00
parent efe5e09c3a
commit 5e16074b92

View file

@ -372,7 +372,7 @@ def configure_content(
try: try:
# Initialize External Plugin Search # 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") logger.info("🔌 Setting up search for plugins")
content_index.plugins = {} content_index.plugins = {}
for plugin_type, plugin_config in content_config.plugins.items(): for plugin_type, plugin_config in content_config.plugins.items():