Skip to content

Commit

Permalink
fix mp4 export on Windows + Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Oct 4, 2020
1 parent 9bbca10 commit c8a5c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawbot_skia/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _saveImage_mp4(self, path, codec="libx264", **kwargs):
singlePage=False,
)
imagesTemplate = os.fspath(tempDir / "frame_%d.png")
generateMP4(imagesTemplate, path, frameRate, codec=codec)
generateMP4(imagesTemplate, os.fspath(path), frameRate, codec=codec)


def _savePixelImages(pictures, path, format, whiteBackground=False, singlePage=None):
Expand Down

0 comments on commit c8a5c10

Please sign in to comment.