From e06cfe301ec2f842f7c0dad90b86cff725195d56 Mon Sep 17 00:00:00 2001 From: didier Date: Wed, 9 Apr 2025 15:28:26 +0200 Subject: [PATCH] fix bug --- pandora-box.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora-box.py b/pandora-box.py index e800452..3bf1e84 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -882,9 +882,10 @@ def get_enabled_workers(): return [file.stem for file in yml_files] def wait_for_workers(): + pandora = pypandora.PyPandora(root_url=pandora_root_url) target_count = len(get_enabled_workers()) - 1 while True: - workers = self.pandora.get_enabled_workers() + workers = pandora.get_enabled_workers() log(f"Workers ready : {len(workers)}/ {target_count}") if len(workers) >= target_count: break