Commit a4007b98 authored by Gabriel Detraz's avatar Gabriel Detraz

L'autocreation renvoie l'interface crée

parent d46ce4a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment