[gestion/ldap_crans.py] tester ses modifications, c'est surfait
darcs-hash:20090903160740-bd074-554b97d1e800b12757f77ed275632f0a193da53f.gz
This commit is contained in:
parent
40c3bc8dc6
commit
94ae1b0243
1 changed files with 2 additions and 2 deletions
|
@ -539,7 +539,7 @@ class CransLdap:
|
|||
# Conversion avant stockage dans la base
|
||||
if type(args) == str: args = [args]
|
||||
args = map(lambda x:preattr(x)[1], args)
|
||||
if type(start) in [int, float]: start = [start]
|
||||
if type(start) in int: start = [start]
|
||||
start = map(lambda x:preattr(x)[1], start)
|
||||
|
||||
if new in serv.keys():
|
||||
|
@ -1701,7 +1701,7 @@ class BaseProprietaire(BaseClasseCrans):
|
|||
|
||||
if self.idn !='cid':
|
||||
# Mail de bienvenue
|
||||
self.services_to_restart('mail_bienvenue', [self.mail().encode('iso-8859-15')], start = time.time() + 600)
|
||||
self.services_to_restart('mail_bienvenue', [self.mail().encode('iso-8859-15')], start = int(time.time()) + 600)
|
||||
|
||||
else:
|
||||
ret += coul(u"Modification %s effectuée avec succès." % self.Nom(), 'vert')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue