From 1cb35c2d516b324506a074a2b2c2f180e372bfe7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Jun 2012 02:37:11 +0300 Subject: testxml: fix global path vars issue. --- testxml/testxml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testxml/testxml.py') diff --git a/testxml/testxml.py b/testxml/testxml.py index ceba29b..2d13fdb 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -155,7 +155,9 @@ def enumDirs(parentDir): errors = errors + 1 def loadPaths(): - global warnings + global warnings, iconsDir, spritesDir, sfxDir, particlesDir, mapsDir, attackSfxFile, spriteErrorFile, \ + levelUpEffectFile, portalEffectFile, minimapsDir, wallpapersDir, walpaperFile, \ + musicDir try: dom = minidom.parse(parentDir + "/paths.xml") for node in dom.getElementsByTagName("option"): -- cgit v1.2.3-70-g09d2