summaryrefslogtreecommitdiff
path: root/testxml/testxml.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-11 02:37:11 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-11 02:37:11 +0300
commit1cb35c2d516b324506a074a2b2c2f180e372bfe7 (patch)
tree204a3241bc93252aebc374768e4cc89bcbfba129 /testxml/testxml.py
parentbf05109ae3a06961cb5d5d02fc6917a88a53870b (diff)
downloadevol-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-xtestxml/testxml.py4
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"):