Add console warning if icon file cannot be found
This commit is contained in:
@@ -86,3 +86,5 @@ def getImage(name, location):
|
||||
|
||||
if os.path.exists(path):
|
||||
return wx.Image(path)
|
||||
else:
|
||||
print "Missing icon file: {0}.png".format(name)
|
||||
|
||||
Reference in New Issue
Block a user