1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-25 00:09:40 +02:00
This commit is contained in:
didier 2025-04-09 15:32:37 +02:00
parent e06cfe301e
commit 76d3cb7503

View file

@ -879,7 +879,7 @@ def get_lock(process_name):
def get_enabled_workers(): def get_enabled_workers():
config_dir = Path("~/pandora/pandora/workers") config_dir = Path("~/pandora/pandora/workers")
yml_files = list(config_dir.glob("*.yml")) yml_files = list(config_dir.glob("*.yml"))
return [file.stem for file in yml_files] return [str(file.stem) for file in yml_files]
def wait_for_workers(): def wait_for_workers():
pandora = pypandora.PyPandora(root_url=pandora_root_url) pandora = pypandora.PyPandora(root_url=pandora_root_url)