From 7f102481890d2f44023ec713dfc2026d1f8149ae Mon Sep 17 00:00:00 2001 From: Patrick Jayet Date: Fri, 22 Mar 2019 15:09:14 +0100 Subject: [PATCH 1/2] bump version to 0.6.2 --- HISTORY.rst | 2 ++ pdfkit/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 4c8715d..ad2fd0d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,5 +1,7 @@ Changelog --------- +* `0.6.2` + * repo state as of 22.10.2018 (see commit log for more details) * `0.6.1` * Fix regression on python 3+ when trying to decode pdf output * `0.6.0` diff --git a/pdfkit/__init__.py b/pdfkit/__init__.py index 4d064d9..6c22611 100644 --- a/pdfkit/__init__.py +++ b/pdfkit/__init__.py @@ -4,7 +4,7 @@ """ __author__ = 'Golovanov Stanislav' -__version__ = '0.6.1' +__version__ = '0.6.2' __license__ = 'MIT' from .pdfkit import PDFKit From 62a7cd8bd0268de8b9433e411c0b611677c41048 Mon Sep 17 00:00:00 2001 From: Patrick Jayet Date: Wed, 12 Jun 2019 17:27:19 +0200 Subject: [PATCH 2/2] Debug print --- pdfkit/pdfkit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pdfkit/pdfkit.py b/pdfkit/pdfkit.py index 15d1d76..d645bce 100644 --- a/pdfkit/pdfkit.py +++ b/pdfkit/pdfkit.py @@ -136,6 +136,7 @@ def handle_error(exit_code, stderr): # Sometimes wkhtmltopdf will exit with non-zero # even if it finishes generation. # If will display 'Done' in the second last line + print('stderr pdfkit', stderr) if stderr.splitlines()[-2].strip() == 'Done': return