mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Fix a syntax error
This commit is contained in:
parent
65b35d84f8
commit
ba8f59107d
|
@ -528,7 +528,7 @@ def _write_local_header(fp, im, offset, flags):
|
||||||
o8(transparency) + # transparency index
|
o8(transparency) + # transparency index
|
||||||
o8(0))
|
o8(0))
|
||||||
|
|
||||||
if "comment" in im.encoderinfo and \
|
if "comment" in im.encoderinfo \
|
||||||
and im.encoderinfo["comment"] is not None \
|
and im.encoderinfo["comment"] is not None \
|
||||||
and 1 <= len(im.encoderinfo["comment"]) <= 255:
|
and 1 <= len(im.encoderinfo["comment"]) <= 255:
|
||||||
fp.write(b"!" +
|
fp.write(b"!" +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user