From baa9ccc6bab0300607e580563c377d3534bee475 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 16 Apr 2011 18:04:22 +0400 Subject: [PATCH] Add console warning if icon file cannot be found --- gui/bitmapLoader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py index 1cc87a821..63dcbacfa 100644 --- a/gui/bitmapLoader.py +++ b/gui/bitmapLoader.py @@ -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)