Skip to content

Commit

Permalink
feat: Adding python3.11 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Apr 5, 2024
1 parent 266205f commit 76159bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imagemodal/mixins/fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from django.template.context import Context
from xblock.core import XBlock

# For backward compatibility with quince and earlier.

try:
from web_fragments.fragment import Fragment
except:
from xblock.fragment import Fragment # pylint: disable=broad-except
except: # pylint: disable=broad-except
from xblock.fragment import Fragment # For backward compatibility with quince and earlier.


class XBlockFragmentBuilderMixin:
Expand Down

0 comments on commit 76159bb

Please sign in to comment.