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 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