diff --git a/project/views.py b/project/views.py index 5990b282..7c0f2e0d 100644 --- a/project/views.py +++ b/project/views.py @@ -21,7 +21,7 @@ class IndexView(TemplateView): except SchoolSchedule.DoesNotExist: online = False else: - online = school_schedule.start_at <= now().time() + online = school_schedule.start_at <= now().time() and school_schedule.current_live_lesson() context.update({ 'online': online,