From: Andreas Monzner Date: Wed, 5 Apr 2006 21:08:54 +0000 (+0000) Subject: define variable in __init__ X-Git-Tag: 2.6.0~3701 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/4452404616677de6bf25d9b33378509fee7a4778 define variable in __init__ --- diff --git a/mytest.py b/mytest.py index caad5206..fc3cb570 100644 --- 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,