Skip to content

Commit 8f783cc

Browse files
authored
add new headless to voucher printing
1 parent 9b760fa commit 8f783cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contactform/label_voucher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def print_voucher(
8484
"--hide-scrollbars",
8585
],
8686
)
87+
hti.browser.use_new_headless = True # https://github.com/vgalin/html2image/issues/174#issuecomment-2625720244
8788
hti.load_file(config.APPUIO_LOGO_PATH)
8889
hti.load_file(qr_code_filename)
8990
hti.browser.print_command = True if config.LOG_LEVEL == "DEBUG" else False

0 commit comments

Comments
 (0)