parent
0addbac08e
commit
afefdaf4e3
1 changed files with 0 additions and 3 deletions
|
@ -37,8 +37,6 @@ import config
|
||||||
year = config.ann_scol
|
year = config.ann_scol
|
||||||
delai = config.demenagement_delai
|
delai = config.demenagement_delai
|
||||||
|
|
||||||
import config.mails.demenagement
|
|
||||||
|
|
||||||
# On récupère ceux qui n'ont pas payé cette année
|
# On récupère ceux qui n'ont pas payé cette année
|
||||||
if config.periode_transitoire:
|
if config.periode_transitoire:
|
||||||
bad_boys_e_s = conn.search('chbre=????&paiement=%d&paiement!=%d' % (year-1,year))['adherent']
|
bad_boys_e_s = conn.search('chbre=????&paiement=%d&paiement!=%d' % (year-1,year))['adherent']
|
||||||
|
@ -69,7 +67,6 @@ for clandestin in bad_boys_e_s:
|
||||||
to = clandestin.mail()
|
to = clandestin.mail()
|
||||||
if not "@" in to:
|
if not "@" in to:
|
||||||
to += "@crans.org"
|
to += "@crans.org"
|
||||||
mail = config.mails.demenagement.message_demenagement % {"from" : "respbats@crans.org",
|
|
||||||
mail = mail_module.generate('demenagement', {"from" : "respbats@crans.org",
|
mail = mail_module.generate('demenagement', {"from" : "respbats@crans.org",
|
||||||
"chambre" : exchambre,
|
"chambre" : exchambre,
|
||||||
"jours" : int(ttl/86400) + 1,
|
"jours" : int(ttl/86400) + 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue