From ddae9e02ab2bc9099fcb215ba5803210767f72a5 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Thu, 24 Sep 2020 15:30:20 -0400 Subject: [PATCH] Use fully-qualified edxnotes app name when checking if installed --- common/lib/xmodule/xmodule/edxnotes_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/edxnotes_utils.py b/common/lib/xmodule/xmodule/edxnotes_utils.py index c4010bed3c..655948c475 100644 --- a/common/lib/xmodule/xmodule/edxnotes_utils.py +++ b/common/lib/xmodule/xmodule/edxnotes_utils.py @@ -10,8 +10,8 @@ def edxnotes(cls): """ Conditional decorator that loads edxnotes only when they exist. """ - if "edxnotes" in sys.modules: - from edxnotes.decorators import edxnotes as notes + if "lms.djangoapps.edxnotes" in sys.modules: + from lms.djangoapps.edxnotes.decorators import edxnotes as notes return notes(cls) else: return cls