diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-11 02:37:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-11 02:37:11 +0300 |
commit | 1cb35c2d516b324506a074a2b2c2f180e372bfe7 (patch) | |
tree | 204a3241bc93252aebc374768e4cc89bcbfba129 /testxml/testxml.py | |
parent | bf05109ae3a06961cb5d5d02fc6917a88a53870b (diff) | |
download | evol-tools-1cb35c2d516b324506a074a2b2c2f180e372bfe7.tar.gz evol-tools-1cb35c2d516b324506a074a2b2c2f180e372bfe7.tar.bz2 evol-tools-1cb35c2d516b324506a074a2b2c2f180e372bfe7.tar.xz evol-tools-1cb35c2d516b324506a074a2b2c2f180e372bfe7.zip |
testxml: fix global path vars issue.
Diffstat (limited to 'testxml/testxml.py')
-rwxr-xr-x | testxml/testxml.py | 4 |
1 files changed, 3 insertions, 1 deletions
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"): |