forked from DGNum/gestioCOF
Fix petits cours
This commit is contained in:
parent
8bd928e4c5
commit
ac3c79daca
1 changed files with 3 additions and 2 deletions
|
@ -135,7 +135,7 @@ def _finalize_traitement(request, demande, proposals, proposed_for,
|
|||
unsatisfied, attribdata, redo=False, errors=None):
|
||||
proposals = proposals.items()
|
||||
proposed_for = proposed_for.items()
|
||||
# attribdata = attribdata.items()
|
||||
attribdata = list(attribdata.items())
|
||||
proposed_mails = _generate_eleve_email(demande, proposed_for)
|
||||
mainmail = render_template("petits-cours-mail-demandeur.txt",
|
||||
{"proposals": proposals,
|
||||
|
@ -153,7 +153,8 @@ def _finalize_traitement(request, demande, proposals, proposed_for,
|
|||
"proposed_mails": proposed_mails,
|
||||
"mainmail": mainmail,
|
||||
"attribdata":
|
||||
base64.b64encode(simplejson.dumps(attribdata).encode('utf_8')),
|
||||
base64.b64encode(simplejson.dumps(attribdata)
|
||||
.encode('utf_8')),
|
||||
"redo": redo,
|
||||
"errors": errors,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue