Fix UUIDBox printing
This commit is contained in:
parent
7ac25f2935
commit
2ef8052a22
1 changed files with 2 additions and 0 deletions
|
|
@ -3355,6 +3355,8 @@ class UUIDBox(Jp2kBox):
|
||||||
xmlstring = ET.tostring(self.data,
|
xmlstring = ET.tostring(self.data,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
pretty_print=True).decode('utf-8')
|
pretty_print=True).decode('utf-8')
|
||||||
|
# Remove any trailing newline
|
||||||
|
xmlstring = xmlstring.rstrip()
|
||||||
text = line.format(xmlstring)
|
text = line.format(xmlstring)
|
||||||
lst.append(text)
|
lst.append(text)
|
||||||
elif self.uuid.bytes == b'JpgTiffExif->JP2':
|
elif self.uuid.bytes == b'JpgTiffExif->JP2':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue