diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py index 83c56847f..60e267605 100644 --- a/gui/bitmapLoader.py +++ b/gui/bitmapLoader.py @@ -36,4 +36,5 @@ def getBitmap(name,location): location = os.path.join(config.path, location) path = os.path.join(location, name + ".png") - return wx.Image(path).ConvertToBitmap() + if os.path.exists(path): + return wx.Image(path).ConvertToBitmap()