]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 1 Feb 2015 23:02:26 +0000 (00:02 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 1 Feb 2015 23:02:26 +0000 (00:02 +0100)
teleforma/views/pro.py

index 10a8afb7e4bca6585188f7dfdd0d64041c5bddac..17098a155840dbe452562263c174126dfaa37836 100644 (file)
@@ -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':