From 53306699dfe80e5e481f3b34cad5f6b5d7b5b4dd Mon Sep 17 00:00:00 2001 From: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com> Date: Sat, 5 Oct 2024 16:25:13 -0700 Subject: [PATCH] fix: populate indexer config And fix start_thread paramater from daemon (old) to daemon_bool (as it exists in the code today) Fixes: #188 --- logos.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/logos.py b/logos.py index b1cce89..a903ef4 100644 --- a/logos.py +++ b/logos.py @@ -154,9 +154,14 @@ def wait_on_indexing(): wine.wineserver_kill() msg.status(f"Indexing has begun…", self.app) + + # Populate config.logos_indexer_exe + if config.logos_indexer_exe is None or config.login_window_cmd is None or config.logos_cef_cmd is None: + wine.set_logos_paths() + # index_thread = threading.Thread(target=run_indexing) # index_thread.start() - index_thread = utils.start_thread(run_indexing, daemon=False) + index_thread = utils.start_thread(run_indexing, daemon_bool=False) self.indexing_state = State.RUNNING time.sleep(1) # If we don't wait, the thread starts too quickly # and the process won't yet be launched when we try to pull it from config.processes