mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Changed string to bytes
This commit is contained in:
parent
0272dc2736
commit
2840905efe
|
@ -183,7 +183,7 @@ def _save(im, fp, filename, check=0):
|
||||||
im, fp, [("raw", (0, 0) + im.size, 0, (rawmode, 0, orientation))])
|
im, fp, [("raw", (0, 0) + im.size, 0, (rawmode, 0, orientation))])
|
||||||
|
|
||||||
# write targa version 2 footer
|
# write targa version 2 footer
|
||||||
fp.write(b"\000" * 8 + "TRUEVISION-XFILE." + b"\000")
|
fp.write(b"\000" * 8 + b"TRUEVISION-XFILE." + b"\000")
|
||||||
|
|
||||||
#
|
#
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user