1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-24 15:59:42 +02:00
This commit is contained in:
didier 2025-04-09 15:35:03 +02:00
parent 76d3cb7503
commit 44cb9588fc

View file

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