mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Skip ticket-attachment for text/uri-list
This commit is contained in:
@@ -158,6 +158,10 @@ def get_tickets_for_order(order, base_position=None):
|
||||
if not retval:
|
||||
continue
|
||||
ct = CachedTicket.objects.get(pk=retval)
|
||||
|
||||
if ct.type == 'text/uri-list':
|
||||
continue
|
||||
|
||||
tickets.append((
|
||||
"{}-{}-{}-{}{}".format(
|
||||
order.event.slug.upper(), order.code, pos.positionid, ct.provider, ct.extension,
|
||||
|
||||
Reference in New Issue
Block a user