Skip to content
2 changes: 1 addition & 1 deletion src/py/kaleido/_mocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _load_figures_from_paths(paths: list[Path]):
_logger.info(f"Yielding {path.stem}")
yield {
"fig": figure,
"path": args.output / f"{path.stem}.{args.format}",
"path": str(Path(args.output) / f"{path.stem}.{args.format}"),
}
else:
raise RuntimeError(f"Path {path} is not a file.")
Expand Down
Loading