diff options
Diffstat (limited to 'CI/testxml/testxml.py')
-rwxr-xr-x | CI/testxml/testxml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CI/testxml/testxml.py b/CI/testxml/testxml.py index 5d28c84..1ba7ff0 100755 --- a/CI/testxml/testxml.py +++ b/CI/testxml/testxml.py @@ -564,8 +564,8 @@ def testSpriteFile(id, fullPath, file, fileLoc, dnum, variant, checkAction, iser num = (s1 / int(width)) * (s2 / int(height)) if variants == 0 and variant > 0: showMsgSprite(fileLoc, "missing variants attribute in sprite", iserr) - if variants > 0 and variant >= variants: - showMsgSprite(fileLoc, "variant number more then in variants attribute", iserr) + if variants > 0 and variant > variants: + showMsgSprite(fileLoc, "variant number(" + str(variant) + ") more then in variants attribute(" + str(variants) + ")", iserr) if variant > 0 and variant >= num: showMsgSprite(fileLoc, "to big variant number " + str(variant) \ |