From 84b02edd4885af6e9a3c296da391c541461dbdb7 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 3 Oct 2022 11:59:38 +0200 Subject: [PATCH] mail auteur dump --- app/scodoc/sco_dump_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_dump_db.py b/app/scodoc/sco_dump_db.py index cfa9511ec..e1d8eef38 100644 --- a/app/scodoc/sco_dump_db.py +++ b/app/scodoc/sco_dump_db.py @@ -186,7 +186,7 @@ def _send_db( "request_url": request_url or request.url, "serial": _get_scodoc_serial(), "sco_user": str(current_user), - "sent_by": sco_users.user_info(str(current_user))["nomcomplet"], + "sent_by": f'"{current_user.get_nomcomplet()}" <{current_user.email}>', "sco_version": sco_version.SCOVERSION, "sco_fullversion": scu.get_scodoc_version(), "traceback_str": traceback_str,