Fixed typo

This commit is contained in:
Andrew Murray 2015-06-28 12:03:11 +10:00
parent 552e7a579b
commit 46fad0fd63

View File

@ -548,7 +548,7 @@ class ImageFileDirectory(collections.MutableMapping):
# and doesn't match the tiff spec: 8-bit byte that
# contains a 7-bit ASCII code; the last byte must be
# NUL (binary zero). Also, I don't think this was well
# excersized before.
# exercised before.
data = value = b"" + value.encode('ascii', 'replace') + b"\0"
else:
# integer data