aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Tools
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-01-27 15:57:27 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-01-27 15:57:27 +0100
commit09f66522e9f51ac8fc7921bd77ba36a9d9d3d4b3 (patch)
tree2e29b0fe36b64ab79be719c03c8e25ba82398f7d /lib/python/Tools
parentfc102394e60824f5c07da710d36ba28eaf160c72 (diff)
parente5423277b5d9dd89918a9b123c10d31057b3dc52 (diff)
downloadenigma2-09f66522e9f51ac8fc7921bd77ba36a9d9d3d4b3.tar.gz
enigma2-09f66522e9f51ac8fc7921bd77ba36a9d9d3d4b3.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Tools')
-rw-r--r--lib/python/Tools/LoadPixmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Tools/LoadPixmap.py b/lib/python/Tools/LoadPixmap.py
index 53e04e54..fff414ad 100644
--- a/lib/python/Tools/LoadPixmap.py
+++ b/lib/python/Tools/LoadPixmap.py
@@ -14,7 +14,7 @@ def LoadPixmap(path, desktop = None, cached = False):
alpha = loadPNG(path + "a.png")
ptr = loadJPG(path + "rgb.jpg", alpha)
else:
- raise "neither .png nor .jpg, please fix file extension"
+ raise Exception("neither .png nor .jpg, please fix file extension")
if ptr and desktop:
desktop.makeCompatiblePixmap(ptr)