[chambres_vides] « Un mail, pas dix, envoyer un mail par jour jusqu'à ce que le type réponde, j'appelle ça du harcèlement »
This commit is contained in:
parent
a02f6954fa
commit
303e3913ee
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ for clandestin in bad_boys_e_s:
|
||||||
delta = now - kickout_date
|
delta = now - kickout_date
|
||||||
ttl = delai*86400 - delta
|
ttl = delai*86400 - delta
|
||||||
if ttl > 0:
|
if ttl > 0:
|
||||||
if sendmails and machine_liste != [] or DEBUG:
|
if (sendmails and machine_liste != [] or DEBUG) and (ttl >= (delai - 1)*86400 or 0 < ttl <= 86400):
|
||||||
# On lui envoie un mail pour le prévenir
|
# On lui envoie un mail pour le prévenir
|
||||||
to = clandestin.mail()
|
to = clandestin.mail()
|
||||||
if not "@" in to:
|
if not "@" in to:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue