????
Current Path : C:/opt/pgsql/pgAdmin 4/python/Lib/site-packages/qrcode/compat/ |
Current File : C:/opt/pgsql/pgAdmin 4/python/Lib/site-packages/qrcode/compat/pil.py |
# Try to import PIL in either of the two ways it can be installed. Image = None ImageDraw = None try: from PIL import Image, ImageDraw # type: ignore # noqa: F401 except ImportError: # pragma: no cover try: import Image # type: ignore # noqa: F401 import ImageDraw # type: ignore # noqa: F401 except ImportError: pass