From e8684d76116a743db6431c93d353f8963cc5737d Mon Sep 17 00:00:00 2001 From: Jonathan Woolf <60640764+jlwoolf@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:37:02 -0600 Subject: [PATCH] Update src/PIL/CurImagePlugin.py Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- src/PIL/CurImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/CurImagePlugin.py b/src/PIL/CurImagePlugin.py index ba11d08cc..add2cdc3a 100644 --- a/src/PIL/CurImagePlugin.py +++ b/src/PIL/CurImagePlugin.py @@ -109,7 +109,7 @@ def _accept(prefix): ## # Image plugin for Windows Cursor files. class CurFile(IcoImagePlugin.IcoFile): - def __init__(self, buf: BytesIO): + def __init__(self, buf: BytesIO()): """ Parse image from file-like object containing cur file data """