From: Guillaume Pellerin Date: Sun, 1 Feb 2015 23:02:26 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.8.1-pro~282^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f4e2fe86e222ac83078cc132274328f7f2f46a4f;p=teleforma.git bugfix --- diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index 10a8afb7..17098a15 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -174,7 +174,8 @@ class SeminarView(SeminarAccessMixin, DetailView): context['seminar_validated'] = validated timer = get_seminar_timer(user, seminar) - context['delta_sec'] = get_seminar_delta(user, seminar) + delta_sec = get_seminar_delta(user, seminar) + context['delta_sec'] = delta_sec context['timer'] = str(timer).split('.')[0] if progress == 100 and not validated and self.template_name == 'teleforma/seminar_detail.html':