From 5242ce05781b9a560445e42c92cfe36a9cd08347 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 22:14:08 +0200 Subject: [PATCH] okk --- teleforma/views/pro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index b53b0f0c..1f27555c 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -171,8 +171,8 @@ class SeminarView(SeminarAccessMixin, DetailView): messages.info(self.request, _("All your answers have been validated. You can now read the corrected documents (step 5).")) elif progress == 100 and validated and self.template_name == 'teleforma/seminar_detail.html': messages.info(self.request, _("You have successfully terminated all steps of your e-learning seminar. You can now download your training testimonial below.")) - # set_revision(user, seminar) - context['delta'] = str(self.get_delta(user, seminar)).split('.')[0] + delta = self.get_delta(user, seminar) + context['delta'] = str(delta).split('.')[0] return context @jsonrpc_method('teleforma.publish_seminar') -- 2.39.5