From 1c99e01af9e888a8ed1f84ceafcfa04da32a3d1b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 11 Dec 2019 11:22:52 +0100 Subject: [PATCH] Fix test failure introduced in last commit --- src/pretix/plugins/checkinlists/exporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index 6ff2c0161b..db5c1ca0de 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -143,7 +143,7 @@ class CheckInListMixin(BaseExporter): 'resolved_name_part' ) - if form_data['attention_only']: + if form_data.get('attention_only'): qs = qs.filter(Q(item__checkin_attention=True) | Q(order__checkin_attention=True)) if not cl.include_pending: