From ecadcd011f0511cc36a2b1f042a68202ec4c27fc Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 28 Mar 2024 18:09:43 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20erreur=20sur=20une=20variable=20non=20d?= =?UTF-8?q?=C3=A9finie.=20ref=20#1102?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lemarche/utils/emails.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lemarche/utils/emails.py b/lemarche/utils/emails.py index c6bb018c9..6cc437bfb 100644 --- a/lemarche/utils/emails.py +++ b/lemarche/utils/emails.py @@ -33,6 +33,7 @@ def add_to_contact_list(user, type: str, source: str = user_constants.SOURCE_SIG user (User): the user how will be added in the contact list type (String): "signup", OR "buyer_download" or "buyer_search" else raise ValueError """ + contact_list_id = None if type == "signup": contact_list_id = api_mailjet.get_mailjet_cl_on_signup(user, source) if user.kind == user.KIND_BUYER: