define variable in __init__
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 5 Apr 2006 21:08:54 +0000 (21:08 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 5 Apr 2006 21:08:54 +0000 (21:08 +0000)
mytest.py

index caad52068d55f7dd3d9b2ea3e7a7e070b64b1e6a..fc3cb5702372ee9c41ea24d1811dfa0d3742d385 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -322,7 +322,7 @@ class PowerKey:
                self.powerKeyTimer.timeout.get().append(self.powertimer)
                globalActionMap.actions["powerdown"]=self.powerdown
                globalActionMap.actions["powerup"]=self.powerup
-               
+               self.standbyblocked = 0
 #              self["PowerKeyActions"] = HelpableActionMap(self, "PowerKeyActions",
                        #{
                                #"powerdown": self.powerdown,