mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-02 02:43:06 +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:
|
if not previous:
|
||||||
|
|
||||||
# global header
|
# global header
|
||||||
for s in getheader(im) + getdata(im):
|
for s in getheader(im)[0] + getdata(im):
|
||||||
fp.write(s)
|
fp.write(s)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user