Distrotech / reportlab

Mirror of https://bitbucket.org/rptlab/reportlab
Other
59 stars 42 forks source link

reportlab.build can't save to a pathlib.Path #30

Open svaningelgem opened 5 days ago

svaningelgem commented 5 days ago

I just tried to save to a Path-object and got this error:

E           TypeError: Cannot use WindowsPath('C:/../test.pdf') as a filename or file

The fix is relatively simple, but as this repo is 9y old :-)...