Skip to content

Commit

Permalink
Final bugfix (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Dec 11, 2023
1 parent 4cc538e commit 458561a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/nb-tester/test-notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ class ExecuteOptions:
submit_jobs: bool


def execute_notebook(path: Path, options: ExecuteOptions) -> bool:
def execute_notebook(path: str, options: ExecuteOptions) -> bool:
"""
Wrapper function for `_execute_notebook` to print status
"""
path = Path(path)
if path.suffix != ".ipynb":
print(f"⏭️ {path} is not a notebook; skipping")
print(f"▶️ {path}", end="", flush=True)
Expand Down

0 comments on commit 458561a

Please sign in to comment.