mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
fix bug
This commit is contained in:
parent
2ddd15dd33
commit
f536a5a357
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ def get_enabled_workers():
|
||||||
return [file.stem for file in yml_files]
|
return [file.stem for file in yml_files]
|
||||||
|
|
||||||
def wait_for_workers():
|
def wait_for_workers():
|
||||||
target_count = get_enabled_workers() - 1
|
target_count = len(get_enabled_workers()) - 1
|
||||||
while True:
|
while True:
|
||||||
workers = self.pandora.get_enabled_workers()
|
workers = self.pandora.get_enabled_workers()
|
||||||
log(f"Workers ready : {len(workers)}/ {target_count}")
|
log(f"Workers ready : {len(workers)}/ {target_count}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue