Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
nulano committed Jul 5, 2019
1 parent 82a7898 commit 4ffa0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageGrab.py
Expand Up @@ -52,9 +52,9 @@ def grab(bbox=None, include_layered_windows=False, multimonitor=False):
-1,
)
if bbox:
xo, yo = offset
x0, y0 = offset
left, top, right, bottom = bbox
im = im.crop((left - xo, top - yo, right - xo, bottom - yo))
im = im.crop((left - x0, top - y0, right - x0, bottom - y0))
return im


Expand Down

0 comments on commit 4ffa0e4

Please sign in to comment.