Added comment

Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
This commit is contained in:
Andrew Murray 2024-06-25 07:13:17 +10:00 committed by Ondrej Baranovič
parent d0d53d4bac
commit ab18395818

View File

@ -69,6 +69,7 @@ def grab(
left, top, right, bottom = bbox
im = im.crop((left - x0, top - y0, right - x0, bottom - y0))
return im
# Cast to Optional[str] needed for Windows and macOS.
display_name: str | None = xdisplay
try:
if not Image.core.HAVE_XCB: