mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Make gifmaker work with the current getheader
GifImagePlugin.getheader was updated about 2 years ago and changed the API that gifmaker expects.
This commit is contained in:
parent
6272f36653
commit
ddf17df928
|
@ -78,7 +78,7 @@ def makedelta(fp, sequence):
|
|||
if not previous:
|
||||
|
||||
# global header
|
||||
for s in getheader(im) + getdata(im):
|
||||
for s in getheader(im)[0] + getdata(im):
|
||||
fp.write(s)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user