diff --git a/invideoquiz/__init__.py b/invideoquiz/__init__.py index f8838dd..48c675a 100644 --- a/invideoquiz/__init__.py +++ b/invideoquiz/__init__.py @@ -3,4 +3,4 @@ """ from .invideoquiz import InVideoQuizXBlock -__version__ = '1.3.1' +__version__ = '1.4.0' diff --git a/invideoquiz/invideoquiz.py b/invideoquiz/invideoquiz.py index 12396cb..f902bbe 100644 --- a/invideoquiz/invideoquiz.py +++ b/invideoquiz/invideoquiz.py @@ -12,7 +12,12 @@ from xblock.fields import String from xblock.fragment import Fragment from xblock.validation import ValidationMessage -from xblock.utils.studio_editable import StudioEditableXBlockMixin +try: + from xblock.utils.studio_editable import StudioEditableXBlockMixin +except ModuleNotFoundError: + # For backward compatibility with releases older than Quince. + from xblockutils.studio_editable import StudioEditableXBlockMixin + from .utils import _