Browse Source

implemented "include" for batch files

master
Tom Krüger 4 years ago
parent
commit
9752cc8900
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      al2/batch.py

+ 4
- 0
al2/batch.py View File

@ -35,4 +35,8 @@ def __load_batch_obj(batch_obj):
paths.extend(__load_batch_obj(batch))
if "include" in batch_obj:
for batch_file in batch_obj["include"]:
paths.extend(load(pl.Path(instance_dir, batch_file)))
return paths

Loading…
Cancel
Save