Skip to content

Commit

Permalink
put generated files in /tmp
Browse files Browse the repository at this point in the history
to make running in container happy
  • Loading branch information
tobru committed Sep 10, 2024
1 parent 3e8b66d commit 9582677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contactform/label_raffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


def print_raffle(form, config, printer_config):
label_filename = "label_raffle.png"
label_filename = "/tmp/label_raffle.png"

label_css = """
body, html {
Expand Down
4 changes: 2 additions & 2 deletions contactform/label_voucher.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@


def print_voucher(form, voucher_code, config, printer_config):
label_filename = "label_voucher.png"
qr_code_filename = "appuio_voucher_qr.png"
label_filename = "/tmp/label_voucher.png"
qr_code_filename = "/tmp/appuio_voucher_qr.png"

label_css = """
body, html {
Expand Down

0 comments on commit 9582677

Please sign in to comment.