aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Tools
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-01-27 00:04:59 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-01-27 00:04:59 +0100
commit15d7074f55a2c3dd38ce9877626be6ec32b448d2 (patch)
treed00b0e0de23212eed1432c8661ac13e27728f107 /lib/python/Tools
parenta4fd5bddb0f8c1b05b963cb8af9692f6c89f3dab (diff)
downloadenigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.tar.gz
enigma2-15d7074f55a2c3dd38ce9877626be6ec32b448d2.zip
fixes for python 2.6 by Moritz Venn
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)