diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index 339489f9..47fc246f 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -122,7 +122,7 @@ class home: uid = adh.uidNumber() mail_redirect = adh.email_exterieur() if oldHome and hostname == "zbee": - home_service = del_user([oldLogin, oldHome]) + home_service = del_user(["%s,%s" % (oldLogin, oldHome)]) home_service.delete_zbee() homesplit = home.split("/") symlink = "/home-adh/%s" % (homesplit[-1],)