diff --git a/Brie/brie/controllers/edit.py b/Brie/brie/controllers/edit.py index f2dd0b4..806a89c 100644 --- a/Brie/brie/controllers/edit.py +++ b/Brie/brie/controllers/edit.py @@ -781,7 +781,7 @@ class MachineDeleteController(AuthenticatedRestController): """ Gestion des requêtes post sur ce controller """ @expose() - def post(self, residence, member_uid, machine_id, redirect = True): + def post(self, residence, member_uid, machine_id, go_redirect = True): residence_dn = Residences.get_dn_by_name(self.user, residence) # Récupération du membre et de la machine @@ -806,7 +806,7 @@ class MachineDeleteController(AuthenticatedRestController): #end if # On redirige sur la page d'édition du membre - if redirect: + if go_redirect: redirect("/edit/member/" + residence + "/" + member_uid) #end if #end def