From 40ebd366af7b80fd3eb3c584c75c40466cf9b525 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 16 Dec 2024 13:11:11 +0100 Subject: [PATCH] Reformatting to clarify --- pretix_zugferd/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pretix_zugferd/views.py b/pretix_zugferd/views.py index 09ef90b..06deb07 100644 --- a/pretix_zugferd/views.py +++ b/pretix_zugferd/views.py @@ -57,10 +57,10 @@ def get_context_data(self, **kwargs): is_zugferd_renderer=isinstance( self.request.event.invoice_renderer, ZugferdMixin ), - is_xrechnung_renderer=getattr( - self.request.event.invoice_renderer, "profile", None - ) - == "XRECHNUNG", + is_xrechnung_renderer=( + getattr(self.request.event.invoice_renderer, "profile", None) + == "XRECHNUNG" + ), has_leitweg_id=( self.request.event.settings.invoice_address_custom_field.localize("de") and "leitweg"