diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-23 00:35:03 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-23 00:35:03 +0200 |
commit | 0c5dc4746e88e55f262add2506a01b8e6465c6aa (patch) | |
tree | 5d950016933e64919ced06cf19597d58cd86034a | |
parent | c8bf9d41547010195dcaea5d7a36ad8518a80090 (diff) | |
download | evol-tools-0c5dc4746e88e55f262add2506a01b8e6465c6aa.tar.gz evol-tools-0c5dc4746e88e55f262add2506a01b8e6465c6aa.tar.bz2 evol-tools-0c5dc4746e88e55f262add2506a01b8e6465c6aa.tar.xz evol-tools-0c5dc4746e88e55f262add2506a01b8e6465c6aa.zip |
testxml: fix searching variants tag.
-rwxr-xr-x | testxml/testxml.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |