From 9d811c9090f2c59702a0dd76fb8ea45a6c7e706e Mon Sep 17 00:00:00 2001 From: Frederic Date: Fri, 23 Dec 2016 01:14:31 +0100 Subject: [PATCH] fix --- writebml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writebml.py b/writebml.py index abe230d..fc33d2e 100644 --- a/writebml.py +++ b/writebml.py @@ -12,7 +12,7 @@ def writeBml(anim, filename): root.attrib['channels'] = str(anim.dimension.channels) header = ET.Element('header') - for (name, val) in anim.tags: + for (name, val) in anim.tags.items(): elem = ET.Element(name) elem.text = str(val) header.append(elem)