|
|
@@ -35,7 +35,7 @@ def get_pdf(html, options=None, output=None): |
|
|
|
|
|
|
|
try: |
|
|
|
# Set filename property to false, so no file is actually created |
|
|
|
filedata = pdfkit.from_string(html, False, options=options or {}) |
|
|
|
filedata = pdfkit.from_string(html, options=options or {}, verbose=True) |
|
|
|
|
|
|
|
# https://pythonhosted.org/PyPDF2/PdfFileReader.html |
|
|
|
# create in-memory binary streams from filedata and create a PdfFileReader object |
|
|
|