]> git.parisson.com Git - teleforma.git/commitdiff
idem
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 24 Nov 2014 16:23:24 +0000 (17:23 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 24 Nov 2014 16:23:24 +0000 (17:23 +0100)
teleforma/views/pro.py

index 83459c9e57e66bad026b1eb23a3dd794dd3092d1..be4fe6fb0bed7cdc07e447c891326913f1a7d97c 100644 (file)
@@ -168,7 +168,7 @@ class SeminarView(SeminarAccessMixin, DetailView):
         context['seminar_progress'] = progress
         context['seminar_validated'] = validated
 
-        timer = get_seminar_timer(seminar)
+        timer = get_seminar_timer(user, seminar)
         delta = timer - datetime.timedelta(seconds=seminar.duration.as_seconds())
         delta_sec = delta.total_seconds()
         context['delta_sec'] = delta_sec