Adjust wkhtmltopdf args

This commit is contained in:
Ivan Blinkov 2020-03-31 17:21:24 +03:00 committed by GitHub
parent b5a36dd1b1
commit ad1ab0a8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,8 @@ def build_single_page_version(lang, args, cfg):
create_pdf_command = [ create_pdf_command = [
'wkhtmltopdf', 'wkhtmltopdf',
'--print-media-type', '--print-media-type',
# TODO: restore '--log-level', 'w', '--use-xserver', '--javascript-delay', '3000',
# TODO: restore '--log-level', 'warn',
f'http://localhost:{port_for_pdf}/single/', single_page_pdf f'http://localhost:{port_for_pdf}/single/', single_page_pdf
] ]
try: try: