diff --git a/src/PIL/ImageGrab.py b/src/PIL/ImageGrab.py index 1355a243ba0..2c4ac12c61f 100644 --- a/src/PIL/ImageGrab.py +++ b/src/PIL/ImageGrab.py @@ -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'}" raise ChildProcessError(msg) data = io.BytesIO(p.stdout)