From 0c5dc4746e88e55f262add2506a01b8e6465c6aa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Feb 2011 00:35:03 +0200 Subject: testxml: fix searching variants tag. --- testxml/testxml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testxml/testxml.py') diff --git a/testxml/testxml.py b/testxml/testxml.py index 1269852..26a86cb 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -373,12 +373,12 @@ def testSpriteFile(id, fullPath, file, fileLoc, dnum, variant, iserr): return try: - variants = dom.attributes["variants"].value + variants = dom.documentElement.attributes["variants"].value except: variants = 0 try: - variant_offset = dom.attributes["variant_offset"].value + variant_offset = dom.documentElement.attributes["variant_offset"].value except: variant_offset = 0 -- cgit v1.2.3-70-g09d2