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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user