From 0a97b0ce671d1e8d213450b8ae3e962e8812253d Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 24 Jul 2020 13:54:38 +0200 Subject: [PATCH] Add progress bar for checkin list export --- src/pretix/plugins/checkinlists/exporters.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index 408b26a31a..c023ee3a41 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -434,6 +434,8 @@ class CSVCheckinList(CheckInListMixin, ListExporter): headers.append(_('Seat number')) yield headers + yield self.ProgressSetTotal(total=qs.count()) + for op in qs: try: ia = op.order.invoice_address