Skip to content

Commit

Permalink
Revert "Try fixing CSV/QR code mismatch"
Browse files Browse the repository at this point in the history
This reverts commit 294763e.
  • Loading branch information
norbusan committed Mar 25, 2024
1 parent 294763e commit c65e5c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/ticket_holder.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ def qr_code(self):
if not self.identifier:
identifier = get_new_id()

# original code from TMA, but this generates an incorrect affix
# qr.add_data(self.order.identifier + "-" + identifier)
qr.add_data(self.order.identifier)
qr.add_data(self.order.identifier + "-" + identifier)
qr.make(fit=True)
img = qr.make_image()

Expand Down

0 comments on commit c65e5c7

Please sign in to comment.