From 22b87741e50e94673eb813f5845feb161e695d4f Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 2 Dec 2024 18:23:31 +0100 Subject: [PATCH] :art: [#994] RUN black and isort code formatters --- src/sdg/producten/templatetags/producten.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sdg/producten/templatetags/producten.py b/src/sdg/producten/templatetags/producten.py index 516e0c1d6..92311bc7f 100644 --- a/src/sdg/producten/templatetags/producten.py +++ b/src/sdg/producten/templatetags/producten.py @@ -46,10 +46,11 @@ def publications(product, publication_links, concept_url): @register.inclusion_tag("producten/_include/doordruk_warning.html") def doordruk_warning(product: Product): - return_value = lambda show_warning, warning_date: { - "doordruk_activation_warning": show_warning, - "datum__doordrukken": warning_date, - } + def return_value(show_warning, warning_date): + return { + "doordruk_activation_warning": show_warning, + "datum__doordrukken": warning_date, + } reference_product = product.reference_product reference_auto_press_through = reference_product.automatisch_doordrukken