fixes for python 2.6 by Moritz Venn
[vuplus_dvbapp] / lib / python / Plugins / DemoPlugins / TestPlugin / plugin.py
index a63562c..69f935e 100644 (file)
@@ -51,7 +51,7 @@ class Test(Screen):
        def mycallback(self, answer):
                print "answer:", answer
                if answer:
-                       raise "test-crash"
+                       raise Exception("test-crash")
                self.close()
        
        def keyLeft(self):