From 817a909950579357a07d831cc50fff4978a4a19b Mon Sep 17 00:00:00 2001 From: Bart van der Schoor Date: Tue, 12 Mar 2024 14:30:57 +0100 Subject: [PATCH] [#2139] Fixed tuple in case status email --- src/open_inwoner/openzaak/notifications.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/open_inwoner/openzaak/notifications.py b/src/open_inwoner/openzaak/notifications.py index 1271ba5fc4..7f8f4c1c0e 100644 --- a/src/open_inwoner/openzaak/notifications.py +++ b/src/open_inwoner/openzaak/notifications.py @@ -588,9 +588,10 @@ def send_case_update_email( "case_link": case_detail_url, } if status: - context["status_description"] = ( - translate_single_status(status.statustype.omschrijving), + context["status_description"] = translate_single_status( + status.statustype.omschrijving ) + if extra_context: context.update(extra_context) template.send_email([user.email], context)