From 28f33e1667faf913c38d99f20085ac7386e2266d Mon Sep 17 00:00:00 2001 From: "Dave St.Germain" Date: Fri, 6 Mar 2020 15:48:01 -0500 Subject: [PATCH] Defensive fix --- lms/djangoapps/courseware/views/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/views/index.py b/lms/djangoapps/courseware/views/index.py index 164f9a786a..12595b8d52 100644 --- a/lms/djangoapps/courseware/views/index.py +++ b/lms/djangoapps/courseware/views/index.py @@ -194,7 +194,7 @@ class CoursewareIndex(View): TODO: remove this once exams work in the new MFE. """ - if (not self.section.is_time_limited) \ + if (not getattr(self.section, 'is_time_limited', False)) \ and should_redirect_to_courseware_microfrontend(self.course_key) \ and not request.user.is_staff: url = get_microfrontend_url(