Update src/PIL/CurImagePlugin.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Jonathan Woolf 2022-10-03 11:37:02 -06:00 committed by GitHub
parent d46f45a637
commit e8684d7611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
"""