From f4e2fe86e222ac83078cc132274328f7f2f46a4f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 2 Feb 2015 00:02:26 +0100 Subject: [PATCH] bugfix --- teleforma/views/pro.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': -- 2.39.5