Fix UUIDBox printing

This commit is contained in:
John Evans 2015-01-30 08:22:52 -05:00
commit 2ef8052a22

View file

@ -3355,6 +3355,8 @@ class UUIDBox(Jp2kBox):
xmlstring = ET.tostring(self.data,
encoding='utf-8',
pretty_print=True).decode('utf-8')
# Remove any trailing newline
xmlstring = xmlstring.rstrip()
text = line.format(xmlstring)
lst.append(text)
elif self.uuid.bytes == b'JpgTiffExif->JP2':