Skip to content

Commit 2c02f0e

Browse files
committed
Fix syntax for generating paths in mocker
1 parent 8d94d45 commit 2c02f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py/kaleido/_mocker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _load_figures_from_paths(paths: list[Path]):
4848
_logger.info(f"Yielding {path.stem}")
4949
yield {
5050
"fig": figure,
51-
"path": args.output / f"{path.stem}.{args.format}",
51+
"path": str(Path(args.output) / f"{path.stem}.{args.format}"),
5252
}
5353
else:
5454
raise RuntimeError(f"Path {path} is not a file.")

0 commit comments

Comments
 (0)