Fix TypeError

PRETIXEU-T6
This commit is contained in:
Raphael Michel
2019-02-05 15:00:58 +01:00
parent d0721165c1
commit 1c73f000a9

View File

@@ -117,7 +117,7 @@ def get_tickets_for_order(order):
if p.multi_download_enabled:
try:
if len(order.positions_with_tickets) == 0:
if len(list(order.positions_with_tickets)) == 0:
continue
ct = CachedCombinedTicket.objects.filter(
order=order, provider=p.identifier, file__isnull=False