Merge branch 'FactoryTest' into vuplus_experimental
[vuplus_dvbapp] / lib / python / Plugins / DemoPlugins / TestPlugin / plugin.py
index a63562c..4ef4a87 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):
@@ -80,4 +80,4 @@ def test(returnValue):
        print "You entered", returnValue
 
 def Plugins(**kwargs):
-       return PluginDescriptor(name="Test", description="plugin to test some capabilities", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main)
+       return PluginDescriptor(name="Test", description="plugin to test some capabilities", where = PluginDescriptor.WHERE_PLUGINMENU, needsRestart = False, fnc=main)