From 98a12171c992a3afcbd8e7325eea535ce3e6d0be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Thu, 26 Jan 2023 22:40:32 +0100
Subject: [PATCH] One tab too many

---
 scipost_django/edadmin/views/preassignment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/edadmin/views/preassignment.py b/scipost_django/edadmin/views/preassignment.py
index a6e76cb2e..1f441db1e 100644
--- a/scipost_django/edadmin/views/preassignment.py
+++ b/scipost_django/edadmin/views/preassignment.py
@@ -173,7 +173,7 @@ def _hx_submission_preassignment_decision(request, identifier_w_vn_nr):
                 submission=submission,
                 comments_for_authors=form.cleaned_data["comments_for_authors"],
             )
-            mail_util.send_mail()
+        mail_util.send_mail()
         submission.refresh_from_db()
         response = HttpResponse()
         # trigger refresh of pool listing
-- 
GitLab