Skip to content

Commit

Permalink
Fix output directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed May 5, 2024
1 parent ce3f1d6 commit faf7c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hexdoc/graphics/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def render_model(
else:
frames = self._render_block(model)

output_path.mkdir(parents=True, exist_ok=True)
output_path.parent.mkdir(parents=True, exist_ok=True)
match frames:
case [image]:
image.save(output_path)
Expand Down

0 comments on commit faf7c7e

Please sign in to comment.