]> git.parisson.com Git - teleforma.git/commitdiff
fix
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 21 Jul 2014 21:41:33 +0000 (23:41 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 21 Jul 2014 21:41:33 +0000 (23:41 +0200)
teleforma/views/pro.py

index 01608e44e30f637e86ae44921cbea5359ae09d75..97cc97b008eb1a0e250da957b9a21e12dcccb003 100644 (file)
@@ -176,7 +176,7 @@ class SeminarView(SeminarAccessMixin, DetailView):
         delta = self.get_delta(user, seminar)
         context['delta'] = str(delta).split('.')[0]
         #TODO
-        if datetime.datetime.now > REVISION_DATE_FILTER:
+        if datetime.datetime.now() > REVISION_DATE_FILTER:
             context['seminar_time'] = delta - datetime.timedelta(seconds=seminar.duration.as_seconds())
         else:
             context['seminar_time'] = 1