Skip to content

Commit

Permalink
fix label image path
Browse files Browse the repository at this point in the history
  • Loading branch information
tobru committed Sep 10, 2024
1 parent 7170840 commit 13e9344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contactform/label_raffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion contactform/label_voucher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 13e9344

Please sign in to comment.