diff --git a/objets.py b/objets.py index fd5fc26..56c5fe9 100644 --- a/objets.py +++ b/objets.py @@ -978,7 +978,7 @@ class proprio(CransLdapObject): else: # C'est un club - home = u'/home/c/' + login + home = u'/home/c/club/' + login.split('-', 1)[-1] if os.path.exists(home): raise ValueError('Création du compte impossible : home existant') if os.path.exists("/home/mail/" + login):