CHange stuff around to be a bit more resilient against errors, create

non-existent folders, add a staticPath config var
This commit is contained in:
cncfanatics
2010-09-28 22:07:33 +02:00
parent 1a470f6b5a
commit b19798021d
3 changed files with 7 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ def getStaticBitmap(name, parent, location):
static.SetBitmap(getBitmap(name,location))
return static
locationMap = {"pack": os.path.join(config.homePath, "icons")}
locationMap = {"pack": os.path.join(config.staticPath, "icons")}
def getBitmap(name,location):
icon = getImage(name, location)