From af4547c5670128995f9773a60c8030ccaa019281 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Tue, 15 Oct 2024 17:11:21 +0200 Subject: Fix TypeError: '>' not supported between instances of 'str' and 'int' File "/builds/specing/tools/testxml/./testxml.py", line 568, in testSpriteFile if variants > 0 and variant >= variants: ^^^^^^^^^^^^ --- testxml/testxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testxml/testxml.py b/testxml/testxml.py index 9e92d75..befa3cf 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -441,7 +441,7 @@ def testSpriteFile(id, fullPath, file, fileLoc, dnum, variant, checkAction, iser return try: - variants = dom.documentElement.attributes["variants"].value + variants = int(dom.documentElement.attributes["variants"].value) except: variants = 0 -- cgit v1.2.3-70-g09d2