From bdbb7a4157dbc2517e0993ef35d4a4d06576b4e4 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 23 Jul 2014 01:14:59 +0200 Subject: [PATCH] fix --- teleforma/management/commands/teleforma-exam-message-bug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/management/commands/teleforma-exam-message-bug.py b/teleforma/management/commands/teleforma-exam-message-bug.py index c2cd522d..83861b17 100644 --- a/teleforma/management/commands/teleforma-exam-message-bug.py +++ b/teleforma/management/commands/teleforma-exam-message-bug.py @@ -23,7 +23,7 @@ class Command(BaseCommand): print scripts.count() for script in scripts: - context = {'script': self, 'site': site} + context = {'script': script, 'site': site} text = render_to_string('exam/messages/script_fix.txt', context) print text mess = Message(sender=sender, recipient=script.author, subject=subject[:119], body=text) -- 2.39.5