Skip to content

Commit

Permalink
Fix passing data URI mime type to WeasyPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
mormahr committed Feb 23, 2022
1 parent f8aa240 commit 6e3634b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf_service/URLFetchHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _handle_data_fetch(self, url: str):

return {
'file_obj': file,
'mine_type': mimetype,
'mime_type': mimetype,
}

def _handle_external_fetch(self, url: str, parsed: ParseResult):
Expand Down

0 comments on commit 6e3634b

Please sign in to comment.