3 def __init__(self, reg):
12 return ("NO", "YES", "MAYBE")[self.val]
15 def __init__(self, obj):
22 # das hier ist ein zugriff auf die registry...
23 if obj == "HKEY_LOCAL_ENIGMA/IMPORTANT/USER_ANNOYING_STUFF/SDTV/FLASHES/GREEN":
24 return ("SDTV green flashes", configBoolean(obj))
25 elif obj == "HKEY_LOCAL_ENIGMA/IMPORTANT/USER_ANNOYING_STUFF/HDTV/FLASHES/GREEN":
26 return ("HDTV reen flashes", configBoolean(obj))
28 return ("invalid", "")