Restored error message

This commit is contained in:
Andrew Murray 2023-12-27 17:57:26 +11:00
parent 6ed83ac464
commit e269512038

View File

@ -90,4 +90,5 @@ def __getattr__(name: str):
from . import Image from . import Image
return Image.Image return Image.Image
raise AttributeError msg = f"module 'PIL' has no attribute '{name}'"
raise AttributeError(msg)