From f0159b4c3d052144b7f42ff006eddf12dde967b1 Mon Sep 17 00:00:00 2001 From: Andrew Ferrier Date: Sat, 26 Sep 2020 14:30:26 +0100 Subject: [PATCH] Add additional wkhtmltopdf error to ignore. --- email2pdf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/email2pdf b/email2pdf index 59f92da..6767460 100755 --- a/email2pdf +++ b/email2pdf @@ -54,7 +54,8 @@ WKHTMLTOPDF_ERRORS_IGNORE = frozenset([r'QFont::setPixelSize: Pixel size <= 0 \( r'libpng warning: Out of place sRGB chunk', r'Exit with code 1 due to network error: ContentNotFoundError', r'Exit with code 1 due to network error: ProtocolUnknownError', - r'Exit with code 1 due to network error: UnknownContentError']) + r'Exit with code 1 due to network error: UnknownContentError', + r'libpng warning: iCCP: known incorrect sRGB profile']) WKHTMLTOPDF_EXTERNAL_COMMAND = 'wkhtmltopdf'