Merge pull request #1311 from radarhere/patch-1

Fixed typo
This commit is contained in:
Hugo van Kemenade 2015-06-28 08:18:27 +03:00
commit 9275c2561b

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