X-Git-Url: http://git.ithinksw.org/~jspiros/python-ebml.git/blobdiff_plain/f1ea34ada2ec6e900703bae7863837ad2b8287f1..HEAD:/ebml/utils/dump_structure.py
diff --git a/ebml/utils/dump_structure.py b/ebml/utils/dump_structure.py
index 8e36663..04be1ad 100644
--- a/ebml/utils/dump_structure.py
+++ b/ebml/utils/dump_structure.py
@@ -3,7 +3,7 @@ from ..schema import EBMLDocument, UnknownElement, CONTAINER, BINARY
def dump_element(element, indent=0):
if isinstance(element, UnknownElement):
- print(('\t' * indent) + ('' % (hex(element.id), element.encoding[0])))
+ print(('\t' * indent) + ('' % (hex(element.id), element.body_size)))
else:
sargs = {
'name': element.name,