From: Guillaume Pellerin Date: Mon, 24 Nov 2014 16:28:11 +0000 (+0100) Subject: idem X-Git-Tag: 2.8.1-pro~282^2~29 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c566c61176794e9f5e3c0b3c40932827608b6000;p=teleforma.git idem --- 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)."))