8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 00:13:12 +00:00

L'autocreation renvoie l'interface crée

This commit is contained in:
Gabriel Detraz 2018-08-04 01:15:34 +02:00
parent d46ce4a151
commit a4007b985f

View file

@ -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