diff options
Diffstat (limited to 'testxml')
-rwxr-xr-x | testxml/testxml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py index f5dfa28..c701492 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -325,7 +325,7 @@ def testSprites(id, node, checkGender, isNormalDye, isMust, checkAction, iserr): showMsg(id, "no sprite tag found", "", iserr) if sprites is not None: - if len(sprites) == 0: + if len(sprites) == 0 or len(sprites[0].childNodes) == 0: if nosprite == False: showMsg(id, "no sprite tags found", "", iserr) elif len(sprites) > 3 and checkGender: |