Erreur dans le chemin du home de club
This commit is contained in:
parent
0733bfd99e
commit
c4a2f1a717
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue