diff --git a/contactform/label_raffle.py b/contactform/label_raffle.py index e612789..afe3b94 100644 --- a/contactform/label_raffle.py +++ b/contactform/label_raffle.py @@ -44,7 +44,7 @@ def print_raffle(form, config, printer_config): save_as=label_filename, ) - label_image = open(f"/tmp/{label_filename}", "rb") + label_image = open(f"/tmp/html2image/{label_filename}", "rb") parameters = LabelParameters( configuration=printer_config, diff --git a/contactform/label_voucher.py b/contactform/label_voucher.py index 6eb3502..bb18aaf 100644 --- a/contactform/label_voucher.py +++ b/contactform/label_voucher.py @@ -72,7 +72,7 @@ def print_voucher(form, voucher_code, config, printer_config): save_as=label_filename, ) - label_image = open(f"/tmp/{label_filename}", "rb") + label_image = open(f"/tmp/html2image/{label_filename}", "rb") parameters = LabelParameters( configuration=printer_config,