modified for subfolders

master
SLW\ARNAUA 2023-03-07 11:11:52 +01:00
parent 121ee28bc1
commit 7c7a844fae
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ if __name__ == "__main__":
# for each folder
for arg in [sys.argv[1]]:
# return path of slo config files
configFiles = glob.glob(pathname=os.path.join(cwd,os.path.basename(arg))+'\\*.yaml',
configFiles = glob.glob(pathname=os.path.join(cwd,os.path.basename(arg))+'\\**\\*.yaml',
# root_dir=os.path.join(cwd,os.path.basename(arg)),
recursive=True)