From c566c61176794e9f5e3c0b3c40932827608b6000 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 24 Nov 2014 17:28:11 +0100 Subject: [PATCH] idem --- teleforma/views/pro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index be85c262..c235a772 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -172,7 +172,7 @@ class SeminarView(SeminarAccessMixin, DetailView): delta = timer - datetime.timedelta(seconds=seminar.duration.as_seconds()) delta_sec = delta.total_seconds() context['delta_sec'] = delta_sec - context['timer'] = str(delta).split('.')[0] + context['timer'] = str(timer).split('.')[0] if progress == 100 and not validated and self.template_name == 'teleforma/seminar_detail.html': messages.info(self.request, _("You have successfully terminated your e-learning seminar. A training testimonial will be available as soon as the pedagogical team validate all your answers (48h maximum).")) -- 2.39.5