Skip to content

fix issue when trying to render pdf from in-memory data directly#6

Open
mwesterhof wants to merge 1 commit into
kumaF:masterfrom
mwesterhof:master
Open

fix issue when trying to render pdf from in-memory data directly#6
mwesterhof wants to merge 1 commit into
kumaF:masterfrom
mwesterhof:master

Conversation

@mwesterhof
Copy link
Copy Markdown

when passing io.BytesIO to the convert function, instead of a URL or file path, the code broke because it was trying to call .startswith("http") on the source bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant