Skip to content

Commit

Permalink
fix typo src/PIL/ImageGrab.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
nik012003 and radarhere committed Jan 22, 2024
1 parent 2910cd8 commit 7049b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageGrab.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def grabclipboard():
]
if any(e in err for e in allowed_errors):
return None
msg = f"{args[0]} error: {err.strip() if err else 'Unkown error'}"
msg = f"{args[0]} error: {err.strip() if err else 'Unknown error'}"

Check warning on line 170 in src/PIL/ImageGrab.py

View check run for this annotation

Codecov / codecov/patch

src/PIL/ImageGrab.py#L168-L170

Added lines #L168 - L170 were not covered by tests
raise ChildProcessError(msg)

data = io.BytesIO(p.stdout)
Expand Down

0 comments on commit 7049b20

Please sign in to comment.