fixes bug #362
[enigma2.git] / mytest.py
index 253ee16..a3cfb5a 100755 (executable)
--- a/mytest.py
+++ b/mytest.py
@@ -383,6 +383,8 @@ class PowerKey:
                                                menu_screen = self.session.openWithCallback(self.MenuClosed, MainMenu, x)
                                                menu_screen.setTitle(_("Standby / Restart"))
                                                return
+               elif action == "standby":
+                       self.standby()
 
        def powerdown(self):
                self.standbyblocked = 0