From a4007b985f6dc9887814e6cf29d6570d5b28daa8 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sat, 4 Aug 2018 01:15:34 +0200 Subject: [PATCH] =?UTF-8?q?L'autocreation=20renvoie=20l'interface=20cr?= =?UTF-8?q?=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models.py b/users/models.py index bdc37142..695a2053 100755 --- a/users/models.py +++ b/users/models.py @@ -652,7 +652,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser, self.notif_auto_newmachine(interface_cible) except Exception as error: return False, error - return True, "Ok" + return interface_cible, "Ok" def notif_auto_newmachine(self, interface): """Notification mail lorsque une machine est automatiquement