From 13340bc8c12b53f3ea7ed8ba44251a650c470374 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Sun, 5 Nov 2017 15:12:12 -0500 Subject: [PATCH] Fixed invalid exception --- lms/djangoapps/courseware/views/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/views/views.py b/lms/djangoapps/courseware/views/views.py index e1930d0df4e4..2590ef37e250 100644 --- a/lms/djangoapps/courseware/views/views.py +++ b/lms/djangoapps/courseware/views/views.py @@ -99,7 +99,7 @@ #specific to our hr_management app try: from hr_management.models import CourseCCASettings -except ImportException: +except ImportError: pass log = logging.getLogger("edx.courseware")