Skip to content

Commit

Permalink
chore: Support backcompatibility for Quince earlier releases
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Nov 2, 2023
1 parent 6a5d35a commit b70c417
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion invideoquiz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from .invideoquiz import InVideoQuizXBlock

__version__ = '1.3.1'
__version__ = '1.4.0'
7 changes: 6 additions & 1 deletion invideoquiz/invideoquiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 _

Expand Down

0 comments on commit b70c417

Please sign in to comment.