From cd833153454e263df5d9f93044854f489e43e3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Fri, 25 Oct 2024 09:37:50 +0200 Subject: [PATCH] Formatting (black) --- pretix_public_registrations/signals.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pretix_public_registrations/signals.py b/pretix_public_registrations/signals.py index 6095cc1..a74b6f5 100644 --- a/pretix_public_registrations/signals.py +++ b/pretix_public_registrations/signals.py @@ -130,9 +130,11 @@ def add_public_registrations_table(sender, **kwargs): else [] ) + [ - public_answers[(pop.pk, pq.pk)].answer - if public_answers.get((pop.pk, pq.pk)) - else "" + ( + public_answers[(pop.pk, pq.pk)].answer + if public_answers.get((pop.pk, pq.pk)) + else "" + ) for pq in public_questions ], } -- GitLab