diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 98fc646b..fc8c0a37 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1991,7 +1991,7 @@ class machine(base_classes_crans) : def delete(self,comment='') : """ Destruction de la machines """ - if self.proprietaire()__class__ == crans and not isadm : + if self.proprietaire().__class__ == crans and not isadm : raise EnvironmentError(u'Il faut être administrateur pour effectuer cette opération.') if self.__typ == 'wifi' :