diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-25 20:34:43 +0000 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-25 20:34:43 +0000 |
commit | 070529d52a7db2b2f7f29155502b397f4c572de3 (patch) | |
tree | fa9c046bae8f1344dcf6add93909bd2239033f31 | |
parent | e0157cc49548a3b8edd038b9617ed9d4883547a2 (diff) | |
download | tools-070529d52a7db2b2f7f29155502b397f4c572de3.tar.gz tools-070529d52a7db2b2f7f29155502b397f4c572de3.tar.bz2 tools-070529d52a7db2b2f7f29155502b397f4c572de3.tar.xz tools-070529d52a7db2b2f7f29155502b397f4c572de3.zip |
added: variant|s count
-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) \ |