mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-24 15:59:42 +02:00
fix bug
This commit is contained in:
parent
76d3cb7503
commit
44cb9588fc
1 changed files with 1 additions and 1 deletions
|
@ -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 [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():
|
def wait_for_workers():
|
||||||
pandora = pypandora.PyPandora(root_url=pandora_root_url)
|
pandora = pypandora.PyPandora(root_url=pandora_root_url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue