Skip to content

Commit

Permalink
fix: function performs even if meta directory already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
SteBaum committed Nov 28, 2023
1 parent 9310d7d commit 05075e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/playbooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ def custom_key(node):
services = dag_services_order

meta_dir = Path(output_dir, "meta")
meta_dir.mkdir()
if not meta_dir.is_dir():
meta_dir.mkdir()
else:
print("Folder meta already exists, will add extra services/collections if any")

def write_copyright_licence_headers(fd):
fd.write("# Copyright 2022 TOSIT.IO\n")
Expand Down

0 comments on commit 05075e5

Please sign in to comment.