forked from CGM_Public/pretix_original
Fix TypeError
PRETIXEU-T6
This commit is contained in:
@@ -117,7 +117,7 @@ def get_tickets_for_order(order):
|
|||||||
|
|
||||||
if p.multi_download_enabled:
|
if p.multi_download_enabled:
|
||||||
try:
|
try:
|
||||||
if len(order.positions_with_tickets) == 0:
|
if len(list(order.positions_with_tickets)) == 0:
|
||||||
continue
|
continue
|
||||||
ct = CachedCombinedTicket.objects.filter(
|
ct = CachedCombinedTicket.objects.filter(
|
||||||
order=order, provider=p.identifier, file__isnull=False
|
order=order, provider=p.identifier, file__isnull=False
|
||||||
|
|||||||
Reference in New Issue
Block a user