Skip to content

Commit

Permalink
🎨 [#994] RUN black and isort code formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
stefrado committed Dec 10, 2024
1 parent 08edf11 commit 22b8774
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/sdg/producten/templatetags/producten.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22b8774

Please sign in to comment.