diff --git a/src/PIL/features.py b/src/PIL/features.py index 9cbd523c9..a234b8098 100644 --- a/src/PIL/features.py +++ b/src/PIL/features.py @@ -15,7 +15,7 @@ def check_module(feature): module = modules[feature] try: - imported_module = __import__(module) + __import__(module) return True except ImportError: return False