From a344468a09e90287ec85d857bc6e15f9ce3c381c Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Fri, 5 Apr 2024 14:40:40 +0500 Subject: [PATCH] feat: Adding python3.11 support. --- imagemodal/mixins/fragment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagemodal/mixins/fragment.py b/imagemodal/mixins/fragment.py index baff72b..8418fe6 100644 --- a/imagemodal/mixins/fragment.py +++ b/imagemodal/mixins/fragment.py @@ -10,7 +10,7 @@ try: from web_fragments.fragment import Fragment -except: # pylint: disable=broad-except +except Exception: # pylint: disable=broad-except from xblock.fragment import Fragment # For backward compatibility with quince and earlier.