From: Guillaume Pellerin Date: Mon, 21 Jul 2014 21:41:33 +0000 (+0200) Subject: fix X-Git-Tag: 2.8.1-pro~282^2~58 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b58cb500d14668f438f2633d997011dbc8008205;p=teleforma.git fix --- diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index 01608e44..97cc97b0 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -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