Skip to content

Commit 9647d8a

Browse files
committed
Fix #408: Don't try to copy __pycache__ directory
1 parent f1dd121 commit 9647d8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bench_runner/scripts/install.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ def _main(check: bool) -> None:
282282
WORKFLOW_PATH.mkdir(parents=True, exist_ok=True)
283283

284284
for path in TEMPLATE_PATH.glob("*"):
285+
if not path.is_file():
286+
continue
287+
285288
if path.name.endswith(".src.yml") or path.name == "env.yml":
286289
continue
287290

0 commit comments

Comments
 (0)