Skip to content

Commit

Permalink
Correct Import File (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sak1012 authored Jan 17, 2025
1 parent 1827f82 commit 27aa5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretix/plugins/badges/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BadgeOutputProvider(BaseTicketOutput):

def generate(self, op: OrderPosition) -> Tuple[str, str, bytes]:
try:
from .api import OPTIONS, render_pdf
from .exporters import OPTIONS, render_pdf
pdf_buffer = render_pdf(op.order.event, [op], OPTIONS['one'])
if pdf_buffer is None:
raise Exception("Failed to generate PDF")
Expand Down

0 comments on commit 27aa5ed

Please sign in to comment.