Reworked config.py (better variable names autodetection)

This commit is contained in:
Niklas Bölter
2010-11-13 17:40:02 +01:00
parent f1abd40ffa
commit d2d1759601
5 changed files with 26 additions and 15 deletions

View File

@@ -81,8 +81,8 @@ def getImage(name, location):
path = os.path.join(location, "%s.png" % name)
else:
location = os.path.join(config.path, location)
location = os.path.join(config.pyfaPath, location)
path = os.path.join(location, name + ".png")
if os.path.exists(path):
return wx.Image(path)